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