~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/loongson64/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/mips/loongson64/Kconfig (Version linux-6.12-rc7) and /arch/mips/loongson64/Kconfig (Version linux-4.16.18)


  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 HW_HAS_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 HW_HAS_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 HW_HAS_PCI
                                                   >>  78         select ISA
                                                   >>  79         select HT_PCI
                                                   >>  80         select I8259
                                                   >>  81         select IRQ_MIPS_CPU
                                                   >>  82         select NR_CPUS_DEFAULT_4
                                                   >>  83         select SYS_HAS_CPU_LOONGSON3
                                                   >>  84         select SYS_HAS_EARLY_PRINTK
                                                   >>  85         select SYS_SUPPORTS_SMP
                                                   >>  86         select SYS_SUPPORTS_HOTPLUG_CPU
                                                   >>  87         select SYS_SUPPORTS_NUMA
                                                   >>  88         select SYS_SUPPORTS_64BIT_KERNEL
                                                   >>  89         select SYS_SUPPORTS_HIGHMEM
                                                   >>  90         select SYS_SUPPORTS_LITTLE_ENDIAN
                                                   >>  91         select LOONGSON_MC146818
                                                   >>  92         select ZONE_DMA32
                                                   >>  93         select LEFI_FIRMWARE_INTERFACE
                                                   >>  94         select PHYS48_TO_HT40
                                                   >>  95         help
                                                   >>  96                 Generic Loongson 3 family machines utilize the 3A/3B revision
                                                   >>  97                 of Loongson processor and RS780/SBX00 chipset.
                                                   >>  98 endchoice
                                                   >>  99 
                                                   >> 100 config CS5536
                                                   >> 101         bool
                                                   >> 102 
                                                   >> 103 config CS5536_MFGPT
                                                   >> 104         bool "CS5536 MFGPT Timer"
                                                   >> 105         depends on CS5536 && !HIGH_RES_TIMERS
                                                   >> 106         select MIPS_EXTERNAL_TIMER
                                                   >> 107         help
                                                   >> 108           This option enables the mfgpt0 timer of AMD CS5536. With this timer
                                                   >> 109           switched on you can not use high resolution timers.
                                                   >> 110 
                                                   >> 111           If you want to enable the Loongson2 CPUFreq Driver, Please enable
                                                   >> 112           this option at first, otherwise, You will get wrong system time.
                                                   >> 113 
                                                   >> 114           If unsure, say Yes.
                                                   >> 115 
  4 config RS780_HPET                                 116 config RS780_HPET
  5         bool "RS780/SBX00 HPET Timer"             117         bool "RS780/SBX00 HPET Timer"
  6         depends on MACH_LOONGSON64             !! 118         depends on LOONGSON_MACH3X
  7         depends on BROKEN                      << 
  8         select MIPS_EXTERNAL_TIMER                119         select MIPS_EXTERNAL_TIMER
  9         help                                      120         help
 10           This option enables the hpet timer o    121           This option enables the hpet timer of AMD RS780/SBX00.
 11                                                   122 
 12           Note: This driver is doing some dang !! 123           If you want to enable the Loongson3 CPUFreq Driver, Please enable
 13           it on RS780E systems.                !! 124           this option at first, otherwise, You will get wrong system time.
                                                   >> 125 
                                                   >> 126           If unsure, say Yes.
                                                   >> 127 
                                                   >> 128 config LOONGSON_UART_BASE
                                                   >> 129         bool
                                                   >> 130         default y
                                                   >> 131         depends on EARLY_PRINTK || SERIAL_8250
                                                   >> 132 
                                                   >> 133 config IOMMU_HELPER
                                                   >> 134         bool
                                                   >> 135 
                                                   >> 136 config NEED_SG_DMA_LENGTH
                                                   >> 137         bool
                                                   >> 138 
                                                   >> 139 config SWIOTLB
                                                   >> 140         bool "Soft IOMMU Support for All-Memory DMA"
                                                   >> 141         default y
                                                   >> 142         depends on CPU_LOONGSON3
                                                   >> 143         select DMA_DIRECT_OPS
                                                   >> 144         select IOMMU_HELPER
                                                   >> 145         select NEED_SG_DMA_LENGTH
                                                   >> 146         select NEED_DMA_MAP_STATE
                                                   >> 147 
                                                   >> 148 config PHYS48_TO_HT40
                                                   >> 149         bool
                                                   >> 150         default y if CPU_LOONGSON3
                                                   >> 151 
                                                   >> 152 config LOONGSON_MC146818
                                                   >> 153         bool
                                                   >> 154         default n
                                                   >> 155 
                                                   >> 156 config LEFI_FIRMWARE_INTERFACE
                                                   >> 157         bool
 14                                                   158 
 15 endif # MACH_LOONGSON64                           159 endif # MACH_LOONGSON64
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php