~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/loongson2ef/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 if MACH_LOONGSON2EF
  3 
  4 choice
  5         prompt "Machine Type"
  6 
  7 config LEMOTE_FULOONG2E
  8         bool "Lemote Fuloong(2e) mini-PC"
  9         select ARCH_SPARSEMEM_ENABLE
 10         select ARCH_HAS_PHYS_TO_DMA
 11         select ARCH_MIGHT_HAVE_PC_PARPORT
 12         select ARCH_MIGHT_HAVE_PC_SERIO
 13         select CEVT_R4K
 14         select CSRC_R4K
 15         select SYS_HAS_CPU_LOONGSON2E
 16         select DMA_NONCOHERENT
 17         select BOOT_ELF32
 18         select BOARD_SCACHE
 19         select FORCE_PCI
 20         select I8259
 21         select ISA
 22         select IRQ_MIPS_CPU
 23         select SYS_SUPPORTS_64BIT_KERNEL
 24         select SYS_SUPPORTS_LITTLE_ENDIAN
 25         select SYS_SUPPORTS_HIGHMEM
 26         select SYS_HAS_EARLY_PRINTK
 27         select USE_GENERIC_EARLY_PRINTK_8250
 28         select GENERIC_ISA_DMA_SUPPORT_BROKEN
 29         select CPU_HAS_WB
 30         select LOONGSON_MC146818
 31         help
 32           Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
 33           an FPGA northbridge
 34 
 35           Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
 36 
 37 config LEMOTE_MACH2F
 38         bool "Lemote Loongson 2F family machines"
 39         select ARCH_SPARSEMEM_ENABLE
 40         select ARCH_HAS_PHYS_TO_DMA
 41         select ARCH_MIGHT_HAVE_PC_PARPORT
 42         select ARCH_MIGHT_HAVE_PC_SERIO
 43         select BOARD_SCACHE
 44         select BOOT_ELF32
 45         select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
 46         select CPU_HAS_WB
 47         select CS5536
 48         select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
 49         select DMA_NONCOHERENT
 50         select GENERIC_ISA_DMA_SUPPORT_BROKEN
 51         select GPIOLIB
 52         select FORCE_PCI
 53         select I8259
 54         select IRQ_MIPS_CPU
 55         select ISA
 56         select SYS_HAS_CPU_LOONGSON2F
 57         select SYS_HAS_EARLY_PRINTK
 58         select USE_GENERIC_EARLY_PRINTK_8250
 59         select SYS_SUPPORTS_64BIT_KERNEL
 60         select SYS_SUPPORTS_HIGHMEM
 61         select SYS_SUPPORTS_LITTLE_ENDIAN
 62         select LOONGSON_MC146818
 63         help
 64           Lemote Loongson 2F family machines utilize the 2F revision of
 65           Loongson processor and the AMD CS5536 south bridge.
 66 
 67           These family machines include fuloong2f mini PC, yeeloong2f notebook,
 68           LingLoong allinone PC and so forth.
 69 
 70 endchoice
 71 
 72 config CS5536
 73         bool
 74 
 75 config CS5536_MFGPT
 76         bool "CS5536 MFGPT Timer"
 77         depends on CS5536 && !HIGH_RES_TIMERS
 78         select MIPS_EXTERNAL_TIMER
 79         help
 80           This option enables the mfgpt0 timer of AMD CS5536. With this timer
 81           switched on you can not use high resolution timers.
 82 
 83           If you want to enable the Loongson2 CPUFreq Driver, Please enable
 84           this option at first, otherwise, You will get wrong system time.
 85 
 86           If unsure, say Yes.
 87 
 88 config LOONGSON_UART_BASE
 89         bool
 90         default y
 91         depends on EARLY_PRINTK || SERIAL_8250
 92 
 93 config LOONGSON_MC146818
 94         bool
 95         default n
 96 
 97 endif # MACH_LOONGSON2EF

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php