MIPS: Move system level config items from CPU_CAVIUM_OCTEON to CAVIUM_OCTEON_SOC
authorDavid Daney <david.daney@cavium.com>
Wed, 28 May 2014 21:52:05 +0000 (23:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 May 2014 19:01:10 +0000 (21:01 +0200)
They are a property of the SoC not the CPU itself.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Cc: James Hogan <james.hogan@imgtec.com>
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7009/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig

index 2f2020f56898b436f249a57e4b88d1805ad303af..78b558f77f5cb9b9aca13bb2ea5c2b73ebea23ef 100644 (file)
@@ -732,6 +732,11 @@ config CAVIUM_OCTEON_SOC
        select ZONE_DMA32
        select HOLES_IN_ZONE
        select ARCH_REQUIRE_GPIOLIB
+       select LIBFDT
+       select USE_OF
+       select ARCH_SPARSEMEM_ENABLE
+       select SYS_SUPPORTS_SMP
+       select NR_CPUS_DEFAULT_16
        help
          This option supports all of the Octeon reference boards from Cavium
          Networks. It builds a kernel that dynamically determines the Octeon
@@ -1410,16 +1415,11 @@ config CPU_SB1
 config CPU_CAVIUM_OCTEON
        bool "Cavium Octeon processor"
        depends on SYS_HAS_CPU_CAVIUM_OCTEON
-       select ARCH_SPARSEMEM_ENABLE
        select CPU_HAS_PREFETCH
        select CPU_SUPPORTS_64BIT_KERNEL
-       select SYS_SUPPORTS_SMP
-       select NR_CPUS_DEFAULT_16
        select WEAK_ORDERING
        select CPU_SUPPORTS_HIGHMEM
        select CPU_SUPPORTS_HUGEPAGES
-       select LIBFDT
-       select USE_OF
        select USB_EHCI_BIG_ENDIAN_MMIO
        select MIPS_L1_CACHE_SHIFT_7
        help