blob: c97ca69b94e05289752a42d814a1a37a8e248d7f [file] [log] [blame]
Wu Zhangjin85749d22009-07-02 23:26:45 +08001choice
Wu Zhangjinf6d4ff02009-10-16 14:17:14 +08002 prompt "Machine Type"
3 depends on MACH_LOONGSON
Wu Zhangjin85749d22009-07-02 23:26:45 +08004
5config LEMOTE_FULOONG2E
Wu Zhangjinf6d4ff02009-10-16 14:17:14 +08006 bool "Lemote Fuloong(2e) mini-PC"
7 select ARCH_SPARSEMEM_ENABLE
8 select CEVT_R4K
9 select CSRC_R4K
10 select SYS_HAS_CPU_LOONGSON2E
11 select DMA_NONCOHERENT
12 select BOOT_ELF32
13 select BOARD_SCACHE
14 select HW_HAS_PCI
15 select I8259
16 select ISA
17 select IRQ_CPU
18 select SYS_SUPPORTS_32BIT_KERNEL
19 select SYS_SUPPORTS_64BIT_KERNEL
20 select SYS_SUPPORTS_LITTLE_ENDIAN
21 select SYS_SUPPORTS_HIGHMEM
22 select SYS_HAS_EARLY_PRINTK
23 select GENERIC_HARDIRQS_NO__DO_IRQ
24 select GENERIC_ISA_DMA_SUPPORT_BROKEN
25 select CPU_HAS_WB
Arnaud Patard5df74352010-06-02 00:39:54 +020026 select LOONGSON_MC146818
Wu Zhangjinf6d4ff02009-10-16 14:17:14 +080027 help
28 Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
29 an FPGA northbridge
Wu Zhangjin85749d22009-07-02 23:26:45 +080030
Wu Zhangjinf6d4ff02009-10-16 14:17:14 +080031 Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
Wu Zhangjin7d32c6d2009-11-10 00:06:10 +080032
33config LEMOTE_MACH2F
34 bool "Lemote Loongson 2F family machines"
35 select ARCH_SPARSEMEM_ENABLE
36 select BOARD_SCACHE
37 select BOOT_ELF32
Wu Zhangjinf8ede0f2009-11-17 01:32:59 +080038 select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
Wu Zhangjin7d32c6d2009-11-10 00:06:10 +080039 select CPU_HAS_WB
40 select CS5536
Wu Zhangjinf8ede0f2009-11-17 01:32:59 +080041 select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
Wu Zhangjin7d32c6d2009-11-10 00:06:10 +080042 select DMA_NONCOHERENT
43 select GENERIC_HARDIRQS_NO__DO_IRQ
44 select GENERIC_ISA_DMA_SUPPORT_BROKEN
45 select HW_HAS_PCI
46 select I8259
47 select IRQ_CPU
48 select ISA
49 select SYS_HAS_CPU_LOONGSON2F
50 select SYS_HAS_EARLY_PRINTK
51 select SYS_SUPPORTS_32BIT_KERNEL
52 select SYS_SUPPORTS_64BIT_KERNEL
53 select SYS_SUPPORTS_HIGHMEM
54 select SYS_SUPPORTS_LITTLE_ENDIAN
Arnaud Patard5df74352010-06-02 00:39:54 +020055 select LOONGSON_MC146818
Wu Zhangjin7d32c6d2009-11-10 00:06:10 +080056 help
57 Lemote Loongson 2F family machines utilize the 2F revision of
58 Loongson processor and the AMD CS5536 south bridge.
59
60 These family machines include fuloong2f mini PC, yeeloong2f notebook,
61 LingLoong allinone PC and so forth.
Wu Zhangjin85749d22009-07-02 23:26:45 +080062endchoice
Wu Zhangjin22c21002009-11-10 00:06:12 +080063
64config CS5536
65 bool
Wu Zhangjinf181bf62009-11-11 14:57:05 +080066
Wu Zhangjin916daba2009-11-17 01:32:57 +080067config CS5536_MFGPT
68 bool "CS5536 MFGPT Timer"
69 depends on CS5536
Wu Zhangjinf8ede0f2009-11-17 01:32:59 +080070 select MIPS_EXTERNAL_TIMER
Wu Zhangjin916daba2009-11-17 01:32:57 +080071 help
72 This option enables the mfgpt0 timer of AMD CS5536.
73
74 If you want to enable the Loongson2 CPUFreq Driver, Please enable
75 this option at first, otherwise, You will get wrong system time.
76
77 If unsure, say Yes.
78
Wu Zhangjinf181bf62009-11-11 14:57:05 +080079config LOONGSON_SUSPEND
80 bool
81 default y
82 depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
Wu Zhangjinc3d8d852009-11-28 14:21:50 +080083
84config LOONGSON_UART_BASE
85 bool
86 default y
87 depends on EARLY_PRINTK || SERIAL_8250
Arnaud Patard5df74352010-06-02 00:39:54 +020088
89config LOONGSON_MC146818
90 bool
91 default n