Yoichi Yuasa | efe8dc5 | 2011-02-07 11:31:36 +0900 | [diff] [blame] | 1 | if MACH_LOONGSON |
| 2 | |
Wu Zhangjin | 85749d2 | 2009-07-02 23:26:45 +0800 | [diff] [blame] | 3 | choice |
Wu Zhangjin | f6d4ff0 | 2009-10-16 14:17:14 +0800 | [diff] [blame] | 4 | prompt "Machine Type" |
Wu Zhangjin | 85749d2 | 2009-07-02 23:26:45 +0800 | [diff] [blame] | 5 | |
| 6 | config LEMOTE_FULOONG2E |
Wu Zhangjin | f6d4ff0 | 2009-10-16 14:17:14 +0800 | [diff] [blame] | 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 |
Wu Zhangjin | f6d4ff0 | 2009-10-16 14:17:14 +0800 | [diff] [blame] | 24 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
| 25 | select CPU_HAS_WB |
Arnaud Patard | 5df7435 | 2010-06-02 00:39:54 +0200 | [diff] [blame] | 26 | select LOONGSON_MC146818 |
Wu Zhangjin | f6d4ff0 | 2009-10-16 14:17:14 +0800 | [diff] [blame] | 27 | help |
| 28 | Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and |
| 29 | an FPGA northbridge |
Wu Zhangjin | 85749d2 | 2009-07-02 23:26:45 +0800 | [diff] [blame] | 30 | |
Wu Zhangjin | f6d4ff0 | 2009-10-16 14:17:14 +0800 | [diff] [blame] | 31 | Lemote Fuloong(2e) mini PC have a VIA686B south bridge. |
Wu Zhangjin | 7d32c6d | 2009-11-10 00:06:10 +0800 | [diff] [blame] | 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 |
Wu Zhangjin | f8ede0f | 2009-11-17 01:32:59 +0800 | [diff] [blame] | 38 | select CEVT_R4K if ! MIPS_EXTERNAL_TIMER |
Wu Zhangjin | 7d32c6d | 2009-11-10 00:06:10 +0800 | [diff] [blame] | 39 | select CPU_HAS_WB |
| 40 | select CS5536 |
Wu Zhangjin | f8ede0f | 2009-11-17 01:32:59 +0800 | [diff] [blame] | 41 | select CSRC_R4K if ! MIPS_EXTERNAL_TIMER |
Wu Zhangjin | 7d32c6d | 2009-11-10 00:06:10 +0800 | [diff] [blame] | 42 | select DMA_NONCOHERENT |
Wu Zhangjin | 7d32c6d | 2009-11-10 00:06:10 +0800 | [diff] [blame] | 43 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
| 44 | select HW_HAS_PCI |
| 45 | select I8259 |
| 46 | select IRQ_CPU |
| 47 | select ISA |
| 48 | select SYS_HAS_CPU_LOONGSON2F |
| 49 | select SYS_HAS_EARLY_PRINTK |
| 50 | select SYS_SUPPORTS_32BIT_KERNEL |
| 51 | select SYS_SUPPORTS_64BIT_KERNEL |
| 52 | select SYS_SUPPORTS_HIGHMEM |
| 53 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Arnaud Patard | 5df7435 | 2010-06-02 00:39:54 +0200 | [diff] [blame] | 54 | select LOONGSON_MC146818 |
Wu Zhangjin | 7d32c6d | 2009-11-10 00:06:10 +0800 | [diff] [blame] | 55 | help |
| 56 | Lemote Loongson 2F family machines utilize the 2F revision of |
| 57 | Loongson processor and the AMD CS5536 south bridge. |
| 58 | |
| 59 | These family machines include fuloong2f mini PC, yeeloong2f notebook, |
| 60 | LingLoong allinone PC and so forth. |
Wu Zhangjin | 85749d2 | 2009-07-02 23:26:45 +0800 | [diff] [blame] | 61 | endchoice |
Wu Zhangjin | 22c2100 | 2009-11-10 00:06:12 +0800 | [diff] [blame] | 62 | |
| 63 | config CS5536 |
| 64 | bool |
Wu Zhangjin | f181bf6 | 2009-11-11 14:57:05 +0800 | [diff] [blame] | 65 | |
Wu Zhangjin | 916daba | 2009-11-17 01:32:57 +0800 | [diff] [blame] | 66 | config CS5536_MFGPT |
| 67 | bool "CS5536 MFGPT Timer" |
| 68 | depends on CS5536 |
Wu Zhangjin | f8ede0f | 2009-11-17 01:32:59 +0800 | [diff] [blame] | 69 | select MIPS_EXTERNAL_TIMER |
Wu Zhangjin | 916daba | 2009-11-17 01:32:57 +0800 | [diff] [blame] | 70 | help |
| 71 | This option enables the mfgpt0 timer of AMD CS5536. |
| 72 | |
| 73 | If you want to enable the Loongson2 CPUFreq Driver, Please enable |
| 74 | this option at first, otherwise, You will get wrong system time. |
| 75 | |
| 76 | If unsure, say Yes. |
| 77 | |
Wu Zhangjin | f181bf6 | 2009-11-11 14:57:05 +0800 | [diff] [blame] | 78 | config LOONGSON_SUSPEND |
| 79 | bool |
| 80 | default y |
| 81 | depends on CPU_SUPPORTS_CPUFREQ && SUSPEND |
Wu Zhangjin | c3d8d85 | 2009-11-28 14:21:50 +0800 | [diff] [blame] | 82 | |
| 83 | config LOONGSON_UART_BASE |
| 84 | bool |
| 85 | default y |
| 86 | depends on EARLY_PRINTK || SERIAL_8250 |
Arnaud Patard | 5df7435 | 2010-06-02 00:39:54 +0200 | [diff] [blame] | 87 | |
| 88 | config LOONGSON_MC146818 |
| 89 | bool |
| 90 | default n |
Yoichi Yuasa | efe8dc5 | 2011-02-07 11:31:36 +0900 | [diff] [blame] | 91 | |
| 92 | endif # MACH_LOONGSON |