~ [ 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.11.12)


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