powerpc: P1020: Remove macro CONFIG_P1020
authorYork Sun <york.sun@nxp.com>
Fri, 18 Nov 2016 18:02:14 +0000 (10:02 -0800)
committerYork Sun <york.sun@nxp.com>
Thu, 24 Nov 2016 07:42:09 +0000 (23:42 -0800)
Replace CONFIG_P1020 with ARCH_P1020 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/Kconfig
arch/powerpc/cpu/mpc85xx/Makefile
arch/powerpc/include/asm/config_mpc85xx.h
include/configs/UCP1020.h
include/configs/p1_p2_rdb_pc.h
scripts/config_whitelist.txt

index f755bc88208b610a3edd82f14c61b4dd590a73b7..9142b336aedcadd79983b1a4527ab59cf00d29c1 100644 (file)
@@ -120,20 +120,25 @@ config TARGET_P1020MBG
        bool "Support P1020MBG-PC"
        select SUPPORT_SPL
        select SUPPORT_TPL
+       select ARCH_P1020
+
 config TARGET_P1020RDB_PC
        bool "Support P1020RDB-PC"
        select SUPPORT_SPL
        select SUPPORT_TPL
+       select ARCH_P1020
 
 config TARGET_P1020RDB_PD
        bool "Support P1020RDB-PD"
        select SUPPORT_SPL
        select SUPPORT_TPL
+       select ARCH_P1020
 
 config TARGET_P1020UTM
        bool "Support P1020UTM"
        select SUPPORT_SPL
        select SUPPORT_TPL
+       select ARCH_P1020
 
 config TARGET_P1021RDB
        bool "Support P1021RDB"
@@ -226,6 +231,7 @@ config TARGET_XPEDITE550X
 
 config TARGET_UCP1020
        bool "Support uCP1020"
+       select ARCH_P1020
 
 config TARGET_CYRUS
        bool "Support Varisys Cyrus"
@@ -278,6 +284,9 @@ config ARCH_P1010
 config ARCH_P1011
        bool
 
+config ARCH_P1020
+       bool
+
 config ARCH_P1022
        bool
 
index 49dcbe3db36e4b48e4bbbc8dba70f14bdc7fe318..26a6786e904621f8003fdad5ca6903fd75e26dd6 100644 (file)
@@ -74,7 +74,7 @@ obj-$(CONFIG_ARCH_MPC8569) += mpc8569_serdes.o
 obj-$(CONFIG_ARCH_MPC8572) += mpc8572_serdes.o
 obj-$(CONFIG_ARCH_P1010)       += p1010_serdes.o
 obj-$(CONFIG_ARCH_P1011)       += p1021_serdes.o
-obj-$(CONFIG_P1020)    += p1021_serdes.o
+obj-$(CONFIG_ARCH_P1020)       += p1021_serdes.o
 obj-$(CONFIG_P1021)    += p1021_serdes.o
 obj-$(CONFIG_ARCH_P1022)       += p1022_serdes.o
 obj-$(CONFIG_ARCH_P1023)       += p1023_serdes.o
index 40b067199c17685bc4d4978d410b483a3896ccb3..4947e18d4a120048ee67aa0ef8e7dc14496d89dd 100644 (file)
 #define CONFIG_SYS_FSL_ERRATUM_A004508
 #define CONFIG_SYS_FSL_ERRATUM_A005125
 
-#elif defined(CONFIG_P1020)
+#elif defined(CONFIG_ARCH_P1020)
 #define CONFIG_MAX_CPUS                        2
 #define CONFIG_SYS_FSL_NUM_LAWS                12
 #define CONFIG_SYS_PPC_E500_DEBUG_TLB  2
index ce1cf97cf0858f9df9fd194b0154b97806bfbe25..1163b0dbd294b34a045313aa121b247c5744087e 100644 (file)
@@ -27,7 +27,6 @@
 #define CONFIG_UCP1020_REV_1_3
 
 #define CONFIG_BOARDNAME "uCP1020-64EE512-0U1-XR-T1"
-#define CONFIG_P1020
 
 #define CONFIG_TSEC_ENET
 #define CONFIG_TSEC1
@@ -59,7 +58,6 @@
 #define CONFIG_UCP1020_REV_1_3
 
 #define CONFIG_BOARDNAME_LOCAL "uCP1020-64EEE512-OU1-XR"
-#define CONFIG_P1020
 
 #define CONFIG_TSEC_ENET
 #define CONFIG_TSEC1
index fa7d05915640300aade63c76f5d2ba2fea63ad25..c9191faa58ecdcd005cd0e949addfd866f7f08b8 100644 (file)
@@ -12,7 +12,6 @@
 
 #if defined(CONFIG_TARGET_P1020MBG)
 #define CONFIG_BOARDNAME "P1020MBG-PC"
-#define CONFIG_P1020
 #define CONFIG_VSC7385_ENET
 #define CONFIG_SLIC
 #define __SW_BOOT_MASK         0x03
@@ -23,7 +22,6 @@
 
 #if defined(CONFIG_TARGET_P1020UTM)
 #define CONFIG_BOARDNAME "P1020UTM-PC"
-#define CONFIG_P1020
 #define __SW_BOOT_MASK         0x03
 #define __SW_BOOT_NOR          0xe0
 #define __SW_BOOT_SD           0x50
@@ -33,7 +31,6 @@
 #if defined(CONFIG_TARGET_P1020RDB_PC)
 #define CONFIG_BOARDNAME "P1020RDB-PC"
 #define CONFIG_NAND_FSL_ELBC
-#define CONFIG_P1020
 #define CONFIG_VSC7385_ENET
 #define CONFIG_SLIC
 #define __SW_BOOT_MASK         0x03
@@ -61,7 +58,6 @@
 #if defined(CONFIG_TARGET_P1020RDB_PD)
 #define CONFIG_BOARDNAME "P1020RDB-PD"
 #define CONFIG_NAND_FSL_ELBC
-#define CONFIG_P1020
 #define CONFIG_VSC7385_ENET
 #define CONFIG_SLIC
 #define __SW_BOOT_MASK         0x03
index 53b10f291103551de9414f513c7e1c3c0ade3f54..858c2d090d825677fc6d00bb678ab3a4d1637c80 100644 (file)
@@ -3383,7 +3383,6 @@ CONFIG_OS2_ENV_ADDR
 CONFIG_OS_ENV_ADDR
 CONFIG_OTHBOOTARGS
 CONFIG_OVERWRITE_ETHADDR_ONCE
-CONFIG_P1020
 CONFIG_P1021
 CONFIG_P1024
 CONFIG_P1025