Convert CONFIG_E300 et al to Kconfig
authorTom Rini <trini@konsulko.com>
Thu, 24 Mar 2022 21:18:01 +0000 (17:18 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 14:28:47 +0000 (10:28 -0400)
This converts the following to Kconfig:
   CONFIG_E300
   CONFIG_E5500

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/powerpc/cpu/mpc83xx/Kconfig
arch/powerpc/cpu/mpc85xx/Kconfig
arch/powerpc/include/asm/config_mpc85xx.h
include/configs/MPC837XERDB.h
include/configs/km/km-mpc8309.h

index 52bc8cf..2ebf8fc 100644 (file)
@@ -1,6 +1,9 @@
 menu "mpc83xx CPU"
        depends on MPC83xx
 
+config E300
+       def_bool y
+
 config SYS_CPU
        default "mpc83xx"
 
index 6c536b3..c1b4e94 100644 (file)
@@ -653,6 +653,7 @@ config ARCH_T1024
        bool
        select BACKSIDE_L2_CACHE
        select E500MC
+       select E5500
        select FSL_LAW
        select SYS_CACHE_SHIFT_6
        select SYS_FSL_DDR_VER_50
@@ -677,6 +678,7 @@ config ARCH_T1040
        bool
        select BACKSIDE_L2_CACHE
        select E500MC
+       select E5500
        select FSL_LAW
        select SYS_CACHE_SHIFT_6
        select SYS_FSL_DDR_VER_50
@@ -701,6 +703,7 @@ config ARCH_T1042
        bool
        select BACKSIDE_L2_CACHE
        select E500MC
+       select E5500
        select FSL_LAW
        select SYS_CACHE_SHIFT_6
        select SYS_FSL_DDR_VER_50
@@ -805,6 +808,9 @@ config E500MC
        help
                Enble PowerPC E500MC core
 
+config E5500
+       bool
+
 config E6500
        bool
        select BTB
index 7eb4566..47bfcc7 100644 (file)
 #endif
 
 #elif defined(CONFIG_ARCH_T1040) || defined(CONFIG_ARCH_T1042)
-#define CONFIG_E5500
 #define CONFIG_FSL_CORENET             /* Freescale CoreNet platform */
 #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 1
 #define CONFIG_SYS_FSL_QMAN_V3         /* QMAN version 3 */
 #define CONFIG_SYS_FSL_SFP_VER_3_0
 
 #elif defined(CONFIG_ARCH_T1024)
-#define CONFIG_E5500
 #define CONFIG_FSL_CORENET          /* Freescale CoreNet platform */
 #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 1
 #define CONFIG_SYS_FSL_QMAN_V3  /* QMAN version 3 */
index 32dac86..41313d8 100644 (file)
@@ -13,7 +13,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_E300            1 /* E300 family */
 
 #define CONFIG_HWCONFIG
 
index ab629be..af35e8e 100644 (file)
@@ -1,7 +1,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_E300            1       /* E300 family */
 
 #define CONFIG_KM_DEF_ARCH     "arch=ppc_82xx\0"