Kconfig 2.1 KB
Newer Older
1 2
if MACH_LOONGSON

3
choice
W
Wu Zhangjin 已提交
4
	prompt "Machine Type"
5 6

config LEMOTE_FULOONG2E
W
Wu Zhangjin 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
	bool "Lemote Fuloong(2e) mini-PC"
	select ARCH_SPARSEMEM_ENABLE
	select CEVT_R4K
	select CSRC_R4K
	select SYS_HAS_CPU_LOONGSON2E
	select DMA_NONCOHERENT
	select BOOT_ELF32
	select BOARD_SCACHE
	select HW_HAS_PCI
	select I8259
	select ISA
	select IRQ_CPU
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_HAS_EARLY_PRINTK
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
	select CPU_HAS_WB
26
	select LOONGSON_MC146818
W
Wu Zhangjin 已提交
27 28 29
	help
	  Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
	  an FPGA northbridge
30

W
Wu Zhangjin 已提交
31
	  Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
32 33 34 35 36 37

config LEMOTE_MACH2F
	bool "Lemote Loongson 2F family machines"
	select ARCH_SPARSEMEM_ENABLE
	select BOARD_SCACHE
	select BOOT_ELF32
38
	select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
39 40
	select CPU_HAS_WB
	select CS5536
41
	select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
42 43
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
44
	select HAVE_CLK
45 46 47 48 49 50 51 52 53 54
	select HW_HAS_PCI
	select I8259
	select IRQ_CPU
	select ISA
	select SYS_HAS_CPU_LOONGSON2F
	select SYS_HAS_EARLY_PRINTK
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
55
	select LOONGSON_MC146818
56 57 58 59 60 61
	help
	  Lemote Loongson 2F family machines utilize the 2F revision of
	  Loongson processor and the AMD CS5536 south bridge.

	  These family machines include fuloong2f mini PC, yeeloong2f notebook,
	  LingLoong allinone PC and so forth.
62
endchoice
63 64 65

config CS5536
	bool
66

67 68 69
config CS5536_MFGPT
	bool "CS5536 MFGPT Timer"
	depends on CS5536
70
	select MIPS_EXTERNAL_TIMER
71 72 73 74 75 76 77 78
	help
	  This option enables the mfgpt0 timer of AMD CS5536.

	  If you want to enable the Loongson2 CPUFreq Driver, Please enable
	  this option at first, otherwise, You will get wrong system time.

	  If unsure, say Yes.

79 80 81 82
config LOONGSON_SUSPEND
	bool
	default y
	depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
83 84 85 86 87

config LOONGSON_UART_BASE
	bool
	default y
	depends on EARLY_PRINTK || SERIAL_8250
88 89 90 91

config LOONGSON_MC146818
	bool
	default n
92 93

endif # MACH_LOONGSON