1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 if MACH_LOONGSON64 2 if MACH_LOONGSON64 3 3 >> 4 choice >> 5 prompt "Machine Type" >> 6 >> 7 config LEMOTE_FULOONG2E >> 8 bool "Lemote Fuloong(2e) mini-PC" >> 9 select ARCH_SPARSEMEM_ENABLE >> 10 select ARCH_MIGHT_HAVE_PC_PARPORT >> 11 select ARCH_MIGHT_HAVE_PC_SERIO >> 12 select CEVT_R4K >> 13 select CSRC_R4K >> 14 select SYS_HAS_CPU_LOONGSON2E >> 15 select DMA_NONCOHERENT >> 16 select BOOT_ELF32 >> 17 select BOARD_SCACHE >> 18 select HAVE_PCI >> 19 select I8259 >> 20 select ISA >> 21 select IRQ_MIPS_CPU >> 22 select SYS_SUPPORTS_64BIT_KERNEL >> 23 select SYS_SUPPORTS_LITTLE_ENDIAN >> 24 select SYS_SUPPORTS_HIGHMEM >> 25 select SYS_HAS_EARLY_PRINTK >> 26 select GENERIC_ISA_DMA_SUPPORT_BROKEN >> 27 select CPU_HAS_WB >> 28 select LOONGSON_MC146818 >> 29 help >> 30 Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and >> 31 an FPGA northbridge >> 32 >> 33 Lemote Fuloong(2e) mini PC have a VIA686B south bridge. >> 34 >> 35 config LEMOTE_MACH2F >> 36 bool "Lemote Loongson 2F family machines" >> 37 select ARCH_SPARSEMEM_ENABLE >> 38 select ARCH_MIGHT_HAVE_PC_PARPORT >> 39 select ARCH_MIGHT_HAVE_PC_SERIO >> 40 select BOARD_SCACHE >> 41 select BOOT_ELF32 >> 42 select CEVT_R4K if ! MIPS_EXTERNAL_TIMER >> 43 select CPU_HAS_WB >> 44 select CS5536 >> 45 select CSRC_R4K if ! MIPS_EXTERNAL_TIMER >> 46 select DMA_NONCOHERENT >> 47 select GENERIC_ISA_DMA_SUPPORT_BROKEN >> 48 select HAVE_CLK >> 49 select HAVE_PCI >> 50 select I8259 >> 51 select IRQ_MIPS_CPU >> 52 select ISA >> 53 select SYS_HAS_CPU_LOONGSON2F >> 54 select SYS_HAS_EARLY_PRINTK >> 55 select SYS_SUPPORTS_64BIT_KERNEL >> 56 select SYS_SUPPORTS_HIGHMEM >> 57 select SYS_SUPPORTS_LITTLE_ENDIAN >> 58 select LOONGSON_MC146818 >> 59 help >> 60 Lemote Loongson 2F family machines utilize the 2F revision of >> 61 Loongson processor and the AMD CS5536 south bridge. >> 62 >> 63 These family machines include fuloong2f mini PC, yeeloong2f notebook, >> 64 LingLoong allinone PC and so forth. >> 65 >> 66 config LOONGSON_MACH3X >> 67 bool "Generic Loongson 3 family machines" >> 68 select ARCH_SPARSEMEM_ENABLE >> 69 select ARCH_MIGHT_HAVE_PC_PARPORT >> 70 select ARCH_MIGHT_HAVE_PC_SERIO >> 71 select GENERIC_ISA_DMA_SUPPORT_BROKEN >> 72 select BOOT_ELF32 >> 73 select BOARD_SCACHE >> 74 select CSRC_R4K >> 75 select CEVT_R4K >> 76 select CPU_HAS_WB >> 77 select FORCE_PCI >> 78 select ISA >> 79 select I8259 >> 80 select IRQ_MIPS_CPU >> 81 select NR_CPUS_DEFAULT_4 >> 82 select SYS_HAS_CPU_LOONGSON3 >> 83 select SYS_HAS_EARLY_PRINTK >> 84 select SYS_SUPPORTS_SMP >> 85 select SYS_SUPPORTS_HOTPLUG_CPU >> 86 select SYS_SUPPORTS_NUMA >> 87 select SYS_SUPPORTS_64BIT_KERNEL >> 88 select SYS_SUPPORTS_HIGHMEM >> 89 select SYS_SUPPORTS_LITTLE_ENDIAN >> 90 select LOONGSON_MC146818 >> 91 select ZONE_DMA32 >> 92 select LEFI_FIRMWARE_INTERFACE >> 93 help >> 94 Generic Loongson 3 family machines utilize the 3A/3B revision >> 95 of Loongson processor and RS780/SBX00 chipset. >> 96 endchoice >> 97 >> 98 config CS5536 >> 99 bool >> 100 >> 101 config CS5536_MFGPT >> 102 bool "CS5536 MFGPT Timer" >> 103 depends on CS5536 && !HIGH_RES_TIMERS >> 104 select MIPS_EXTERNAL_TIMER >> 105 help >> 106 This option enables the mfgpt0 timer of AMD CS5536. With this timer >> 107 switched on you can not use high resolution timers. >> 108 >> 109 If you want to enable the Loongson2 CPUFreq Driver, Please enable >> 110 this option at first, otherwise, You will get wrong system time. >> 111 >> 112 If unsure, say Yes. >> 113 4 config RS780_HPET 114 config RS780_HPET 5 bool "RS780/SBX00 HPET Timer" 115 bool "RS780/SBX00 HPET Timer" 6 depends on MACH_LOONGSON64 !! 116 depends on LOONGSON_MACH3X 7 depends on BROKEN << 8 select MIPS_EXTERNAL_TIMER 117 select MIPS_EXTERNAL_TIMER 9 help 118 help 10 This option enables the hpet timer o 119 This option enables the hpet timer of AMD RS780/SBX00. 11 120 12 Note: This driver is doing some dang !! 121 If you want to enable the Loongson3 CPUFreq Driver, Please enable 13 it on RS780E systems. !! 122 this option at first, otherwise, You will get wrong system time. >> 123 >> 124 If unsure, say Yes. >> 125 >> 126 config LOONGSON_UART_BASE >> 127 bool >> 128 default y >> 129 depends on EARLY_PRINTK || SERIAL_8250 >> 130 >> 131 config LOONGSON_MC146818 >> 132 bool >> 133 default n >> 134 >> 135 config LEFI_FIRMWARE_INTERFACE >> 136 bool 14 137 15 endif # MACH_LOONGSON64 138 endif # MACH_LOONGSON64
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.