Version:  2.0.40 2.2.26 2.4.37 2.6.39 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15

Linux/arch/mips/loongson/Kconfig

  1 if MACH_LOONGSON
  2 
  3 choice
  4         prompt "Machine Type"
  5 
  6 config LEMOTE_FULOONG2E
  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
 24         select GENERIC_ISA_DMA_SUPPORT_BROKEN
 25         select CPU_HAS_WB
 26         select LOONGSON_MC146818
 27         help
 28           Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
 29           an FPGA northbridge
 30 
 31           Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
 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
 38         select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
 39         select CPU_HAS_WB
 40         select CS5536
 41         select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
 42         select DMA_NONCOHERENT
 43         select GENERIC_ISA_DMA_SUPPORT_BROKEN
 44         select HAVE_CLK
 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
 55         select LOONGSON_MC146818
 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.
 62 
 63 config LEMOTE_MACH3A
 64         bool "Lemote Loongson 3A family machines"
 65         select ARCH_SPARSEMEM_ENABLE
 66         select GENERIC_ISA_DMA_SUPPORT_BROKEN
 67         select BOOT_ELF32
 68         select BOARD_SCACHE
 69         select CSRC_R4K
 70         select CEVT_R4K
 71         select CPU_HAS_WB
 72         select HW_HAS_PCI
 73         select ISA
 74         select HT_PCI
 75         select I8259
 76         select IRQ_CPU
 77         select NR_CPUS_DEFAULT_4
 78         select SYS_HAS_CPU_LOONGSON3
 79         select SYS_HAS_EARLY_PRINTK
 80         select SYS_SUPPORTS_SMP
 81         select SYS_SUPPORTS_HOTPLUG_CPU
 82         select SYS_SUPPORTS_64BIT_KERNEL
 83         select SYS_SUPPORTS_HIGHMEM
 84         select SYS_SUPPORTS_LITTLE_ENDIAN
 85         select LOONGSON_MC146818
 86         select ZONE_DMA32
 87         select LEFI_FIRMWARE_INTERFACE
 88         help
 89                 Lemote Loongson 3A family machines utilize the 3A revision of
 90                 Loongson processor and RS780/SBX00 chipset.
 91 endchoice
 92 
 93 config CS5536
 94         bool
 95 
 96 config CS5536_MFGPT
 97         bool "CS5536 MFGPT Timer"
 98         depends on CS5536
 99         select MIPS_EXTERNAL_TIMER
100         help
101           This option enables the mfgpt0 timer of AMD CS5536.
102 
103           If you want to enable the Loongson2 CPUFreq Driver, Please enable
104           this option at first, otherwise, You will get wrong system time.
105 
106           If unsure, say Yes.
107 
108 config LOONGSON_SUSPEND
109         bool
110         default y
111         depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
112 
113 config LOONGSON_UART_BASE
114         bool
115         default y
116         depends on EARLY_PRINTK || SERIAL_8250
117 
118 config IOMMU_HELPER
119         bool
120 
121 config NEED_SG_DMA_LENGTH
122         bool
123 
124 config SWIOTLB
125         bool "Soft IOMMU Support for All-Memory DMA"
126         default y
127         depends on CPU_LOONGSON3
128         select IOMMU_HELPER
129         select NEED_SG_DMA_LENGTH
130         select NEED_DMA_MAP_STATE
131 
132 config LOONGSON_MC146818
133         bool
134         default n
135 
136 config LEFI_FIRMWARE_INTERFACE
137         bool
138 
139 endif # MACH_LOONGSON

This page was automatically generated by LXR 0.3.1 (source).  •  Linux is a registered trademark of Linus Torvalds  •  Contact us