MIPS: BMIPS: extend BMIPS3300 to include BMIPS32
authorJonas Gorski <jogo@openwrt.org>
Wed, 18 Dec 2013 13:12:05 +0000 (14:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jan 2014 19:18:52 +0000 (20:18 +0100)
Codewise there is no difference between these two, so it does not make
sense to treat them differently. Also chip families having one of these
tend to have the other.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6247/

arch/mips/Kconfig

index 748bd6d..7eaa412 100644 (file)
@@ -1383,7 +1383,7 @@ config CPU_BMIPS
        bool "Broadcom BMIPS"
        depends on SYS_HAS_CPU_BMIPS
        select CPU_MIPS32
-       select CPU_BMIPS3300 if SYS_HAS_CPU_BMIPS3300
+       select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
        select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
        select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
        select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
@@ -1395,7 +1395,7 @@ config CPU_BMIPS
        select CPU_SUPPORTS_HIGHMEM
        select CPU_HAS_PREFETCH
        help
-         Support for BMIPS3300/4350/4380 and BMIPS5000 processors.
+         Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
 
 config CPU_XLR
        bool "Netlogic XLR SoC"
@@ -1478,7 +1478,7 @@ config CPU_LOONGSON1
        select CPU_SUPPORTS_32BIT_KERNEL
        select CPU_SUPPORTS_HIGHMEM
 
-config CPU_BMIPS3300
+config CPU_BMIPS32_3300
        bool
 
 config CPU_BMIPS4350
@@ -1572,7 +1572,7 @@ config SYS_HAS_CPU_CAVIUM_OCTEON
 config SYS_HAS_CPU_BMIPS
        bool
 
-config SYS_HAS_CPU_BMIPS3300
+config SYS_HAS_CPU_BMIPS32_3300
        bool
        select SYS_HAS_CPU_BMIPS