diff options
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 71f15e73bc89..a9668d4653c2 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -95,6 +95,7 @@ config ATH79 | |||
95 | select CSRC_R4K | 95 | select CSRC_R4K |
96 | select DMA_NONCOHERENT | 96 | select DMA_NONCOHERENT |
97 | select HAVE_CLK | 97 | select HAVE_CLK |
98 | select CLKDEV_LOOKUP | ||
98 | select IRQ_CPU | 99 | select IRQ_CPU |
99 | select MIPS_MACHINE | 100 | select MIPS_MACHINE |
100 | select SYS_HAS_CPU_MIPS32_R2 | 101 | select SYS_HAS_CPU_MIPS32_R2 |
@@ -131,7 +132,6 @@ config BCM63XX | |||
131 | select IRQ_CPU | 132 | select IRQ_CPU |
132 | select SYS_HAS_CPU_MIPS32_R1 | 133 | select SYS_HAS_CPU_MIPS32_R1 |
133 | select SYS_HAS_CPU_BMIPS4350 if !BCM63XX_CPU_6338 && !BCM63XX_CPU_6345 && !BCM63XX_CPU_6348 | 134 | select SYS_HAS_CPU_BMIPS4350 if !BCM63XX_CPU_6338 && !BCM63XX_CPU_6345 && !BCM63XX_CPU_6348 |
134 | select NR_CPUS_DEFAULT_2 | ||
135 | select SYS_SUPPORTS_32BIT_KERNEL | 135 | select SYS_SUPPORTS_32BIT_KERNEL |
136 | select SYS_SUPPORTS_BIG_ENDIAN | 136 | select SYS_SUPPORTS_BIG_ENDIAN |
137 | select SYS_HAS_EARLY_PRINTK | 137 | select SYS_HAS_EARLY_PRINTK |
@@ -445,6 +445,8 @@ config RALINK | |||
445 | select SYS_HAS_EARLY_PRINTK | 445 | select SYS_HAS_EARLY_PRINTK |
446 | select HAVE_MACH_CLKDEV | 446 | select HAVE_MACH_CLKDEV |
447 | select CLKDEV_LOOKUP | 447 | select CLKDEV_LOOKUP |
448 | select ARCH_HAS_RESET_CONTROLLER | ||
449 | select RESET_CONTROLLER | ||
448 | 450 | ||
449 | config SGI_IP22 | 451 | config SGI_IP22 |
450 | bool "SGI IP22 (Indy/Indigo2)" | 452 | bool "SGI IP22 (Indy/Indigo2)" |
@@ -609,7 +611,6 @@ config SIBYTE_SWARM | |||
609 | select BOOT_ELF32 | 611 | select BOOT_ELF32 |
610 | select DMA_COHERENT | 612 | select DMA_COHERENT |
611 | select HAVE_PATA_PLATFORM | 613 | select HAVE_PATA_PLATFORM |
612 | select NR_CPUS_DEFAULT_2 | ||
613 | select SIBYTE_SB1250 | 614 | select SIBYTE_SB1250 |
614 | select SWAP_IO_SPACE | 615 | select SWAP_IO_SPACE |
615 | select SYS_HAS_CPU_SB1 | 616 | select SYS_HAS_CPU_SB1 |
@@ -623,7 +624,6 @@ config SIBYTE_LITTLESUR | |||
623 | select BOOT_ELF32 | 624 | select BOOT_ELF32 |
624 | select DMA_COHERENT | 625 | select DMA_COHERENT |
625 | select HAVE_PATA_PLATFORM | 626 | select HAVE_PATA_PLATFORM |
626 | select NR_CPUS_DEFAULT_2 | ||
627 | select SIBYTE_SB1250 | 627 | select SIBYTE_SB1250 |
628 | select SWAP_IO_SPACE | 628 | select SWAP_IO_SPACE |
629 | select SYS_HAS_CPU_SB1 | 629 | select SYS_HAS_CPU_SB1 |
@@ -635,7 +635,6 @@ config SIBYTE_SENTOSA | |||
635 | bool "Sibyte BCM91250E-Sentosa" | 635 | bool "Sibyte BCM91250E-Sentosa" |
636 | select BOOT_ELF32 | 636 | select BOOT_ELF32 |
637 | select DMA_COHERENT | 637 | select DMA_COHERENT |
638 | select NR_CPUS_DEFAULT_2 | ||
639 | select SIBYTE_SB1250 | 638 | select SIBYTE_SB1250 |
640 | select SWAP_IO_SPACE | 639 | select SWAP_IO_SPACE |
641 | select SYS_HAS_CPU_SB1 | 640 | select SYS_HAS_CPU_SB1 |
@@ -731,6 +730,7 @@ config CAVIUM_OCTEON_SOC | |||
731 | select USB_ARCH_HAS_OHCI | 730 | select USB_ARCH_HAS_OHCI |
732 | select USB_ARCH_HAS_EHCI | 731 | select USB_ARCH_HAS_EHCI |
733 | select HOLES_IN_ZONE | 732 | select HOLES_IN_ZONE |
733 | select ARCH_REQUIRE_GPIOLIB | ||
734 | help | 734 | help |
735 | This option supports all of the Octeon reference boards from Cavium | 735 | This option supports all of the Octeon reference boards from Cavium |
736 | Networks. It builds a kernel that dynamically determines the Octeon | 736 | Networks. It builds a kernel that dynamically determines the Octeon |
@@ -1860,7 +1860,6 @@ config MIPS_MT_SMP | |||
1860 | select CPU_MIPSR2_IRQ_VI | 1860 | select CPU_MIPSR2_IRQ_VI |
1861 | select CPU_MIPSR2_IRQ_EI | 1861 | select CPU_MIPSR2_IRQ_EI |
1862 | select MIPS_MT | 1862 | select MIPS_MT |
1863 | select NR_CPUS_DEFAULT_2 | ||
1864 | select SMP | 1863 | select SMP |
1865 | select SYS_SUPPORTS_SCHED_SMT if SMP | 1864 | select SYS_SUPPORTS_SCHED_SMT if SMP |
1866 | select SYS_SUPPORTS_SMP | 1865 | select SYS_SUPPORTS_SMP |
@@ -2171,12 +2170,6 @@ config SYS_SUPPORTS_MIPS_CMP | |||
2171 | config SYS_SUPPORTS_SMP | 2170 | config SYS_SUPPORTS_SMP |
2172 | bool | 2171 | bool |
2173 | 2172 | ||
2174 | config NR_CPUS_DEFAULT_1 | ||
2175 | bool | ||
2176 | |||
2177 | config NR_CPUS_DEFAULT_2 | ||
2178 | bool | ||
2179 | |||
2180 | config NR_CPUS_DEFAULT_4 | 2173 | config NR_CPUS_DEFAULT_4 |
2181 | bool | 2174 | bool |
2182 | 2175 | ||
@@ -2194,10 +2187,8 @@ config NR_CPUS_DEFAULT_64 | |||
2194 | 2187 | ||
2195 | config NR_CPUS | 2188 | config NR_CPUS |
2196 | int "Maximum number of CPUs (2-64)" | 2189 | int "Maximum number of CPUs (2-64)" |
2197 | range 1 64 if NR_CPUS_DEFAULT_1 | 2190 | range 2 64 |
2198 | depends on SMP | 2191 | depends on SMP |
2199 | default "1" if NR_CPUS_DEFAULT_1 | ||
2200 | default "2" if NR_CPUS_DEFAULT_2 | ||
2201 | default "4" if NR_CPUS_DEFAULT_4 | 2192 | default "4" if NR_CPUS_DEFAULT_4 |
2202 | default "8" if NR_CPUS_DEFAULT_8 | 2193 | default "8" if NR_CPUS_DEFAULT_8 |
2203 | default "16" if NR_CPUS_DEFAULT_16 | 2194 | default "16" if NR_CPUS_DEFAULT_16 |