Commit | Line | Data |
---|---|---|
efe8dc55 YY |
1 | if MACH_LOONGSON |
2 | ||
85749d24 | 3 | choice |
f6d4ff02 | 4 | prompt "Machine Type" |
85749d24 WZ |
5 | |
6 | config LEMOTE_FULOONG2E | |
f6d4ff02 WZ |
7 | bool "Lemote Fuloong(2e) mini-PC" |
8 | select ARCH_SPARSEMEM_ENABLE | |
9 | select CEVT_R4K | |
10 | select CSRC_R4K | |
11 | select SYS_HAS_CPU_LOONGSON2E | |
12 | select DMA_NONCOHERENT | |
13 | select BOOT_ELF32 | |
14 | select BOARD_SCACHE | |
15 | select HW_HAS_PCI | |
16 | select I8259 | |
17 | select ISA | |
18 | select IRQ_CPU | |
19 | select SYS_SUPPORTS_32BIT_KERNEL | |
20 | select SYS_SUPPORTS_64BIT_KERNEL | |
21 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
22 | select SYS_SUPPORTS_HIGHMEM | |
23 | select SYS_HAS_EARLY_PRINTK | |
f6d4ff02 WZ |
24 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
25 | select CPU_HAS_WB | |
5df74352 | 26 | select LOONGSON_MC146818 |
f6d4ff02 WZ |
27 | help |
28 | Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and | |
29 | an FPGA northbridge | |
85749d24 | 30 | |
f6d4ff02 | 31 | Lemote Fuloong(2e) mini PC have a VIA686B south bridge. |
7d32c6dd WZ |
32 | |
33 | config LEMOTE_MACH2F | |
34 | bool "Lemote Loongson 2F family machines" | |
35 | select ARCH_SPARSEMEM_ENABLE | |
36 | select BOARD_SCACHE | |
37 | select BOOT_ELF32 | |
f8ede0f7 | 38 | select CEVT_R4K if ! MIPS_EXTERNAL_TIMER |
7d32c6dd WZ |
39 | select CPU_HAS_WB |
40 | select CS5536 | |
f8ede0f7 | 41 | select CSRC_R4K if ! MIPS_EXTERNAL_TIMER |
7d32c6dd | 42 | select DMA_NONCOHERENT |
7d32c6dd | 43 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
95cf1468 | 44 | select HAVE_CLK |
7d32c6dd WZ |
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 | |
5df74352 | 55 | select LOONGSON_MC146818 |
7d32c6dd WZ |
56 | 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. | |
85749d24 | 62 | endchoice |
22c21003 WZ |
63 | |
64 | config CS5536 | |
65 | bool | |
f181bf60 | 66 | |
916daba8 WZ |
67 | config CS5536_MFGPT |
68 | bool "CS5536 MFGPT Timer" | |
69 | depends on CS5536 | |
f8ede0f7 | 70 | select MIPS_EXTERNAL_TIMER |
916daba8 WZ |
71 | 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 | ||
f181bf60 WZ |
79 | config LOONGSON_SUSPEND |
80 | bool | |
81 | default y | |
82 | depends on CPU_SUPPORTS_CPUFREQ && SUSPEND | |
c3d8d850 WZ |
83 | |
84 | config LOONGSON_UART_BASE | |
85 | bool | |
86 | default y | |
87 | depends on EARLY_PRINTK || SERIAL_8250 | |
5df74352 AP |
88 | |
89 | config LOONGSON_MC146818 | |
90 | bool | |
91 | default n | |
efe8dc55 YY |
92 | |
93 | endif # MACH_LOONGSON |