powerpc: MPC8568: Remove macro CONFIG_MPC8568
authorYork Sun <york.sun@nxp.com>
Wed, 16 Nov 2016 19:32:17 +0000 (11:32 -0800)
committerYork Sun <york.sun@nxp.com>
Thu, 24 Nov 2016 07:42:06 +0000 (23:42 -0800)
Replace CONFIG_MPC8568 with ARCH_MPC8568 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
arch/powerpc/include/asm/immap_85xx.h
include/configs/MPC8568MDS.h
scripts/config_whitelist.txt

index 98f98afa1eb0f4fe87345e2f08606b5ac4074a7a..9545793d3c654c44c002f0c49c85a54fce953de1 100644 (file)
@@ -84,6 +84,7 @@ config TARGET_MPC8560ADS
 
 config TARGET_MPC8568MDS
        bool "Support MPC8568MDS"
+       select ARCH_MPC8568
 
 config TARGET_MPC8569MDS
        bool "Support MPC8569MDS"
@@ -215,6 +216,9 @@ config ARCH_MPC8555
 config ARCH_MPC8560
        bool
 
+config ARCH_MPC8568
+       bool
+
 source "board/freescale/b4860qds/Kconfig"
 source "board/freescale/bsc9131rdb/Kconfig"
 source "board/freescale/bsc9132qds/Kconfig"
index 4733bfd42a7fce97764c9507df5dd7596243db53..390eede17460fced2327487fb06de963c567d614 100644 (file)
@@ -69,7 +69,7 @@ obj-$(CONFIG_ARCH_C29X)       += c29x_serdes.o
 obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o
 obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o
 obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o
-obj-$(CONFIG_MPC8568) += mpc8568_serdes.o
+obj-$(CONFIG_ARCH_MPC8568) += mpc8568_serdes.o
 obj-$(CONFIG_MPC8569) += mpc8569_serdes.o
 obj-$(CONFIG_MPC8572) += mpc8572_serdes.o
 obj-$(CONFIG_P1010)    += p1010_serdes.o
index ef591b95e09ae002ede9b6d0287dd2c9254d78a5..c38d983d4734c0fbc8f49a282229eecc9c64628c 100644 (file)
@@ -98,7 +98,7 @@
 #define CONFIG_SYS_FSL_DDRC_GEN1
 #define CONFIG_SYS_CCSRBAR_DEFAULT     0xff700000
 
-#elif defined(CONFIG_MPC8568)
+#elif defined(CONFIG_ARCH_MPC8568)
 #define CONFIG_MAX_CPUS                        1
 #define CONFIG_SYS_FSL_NUM_LAWS                10
 #define CONFIG_SYS_FSL_DDRC_GEN2
index d6e7f62620a8fe96ee13756b38db74c059879a39..ec4c837d2178aa699c03fa5c9e6942a806e5d06b 100644 (file)
@@ -2484,7 +2484,7 @@ typedef struct ccsr_gur {
        u32     svr;            /* System version */
        u8      res10[8];
        u32     rstcr;          /* Reset control */
-#if defined(CONFIG_MPC8568)||defined(CONFIG_MPC8569)
+#if defined(CONFIG_ARCH_MPC8568) || defined(CONFIG_MPC8569)
        u8      res11a[76];
        par_io_t qe_par_io[7];
        u8      res11b[1600];
index 62f06db3f3496c6bd63a7b60dbc77869c8a84a8f..18adc6f943780374704591b05ed08e30bd5b1057 100644 (file)
@@ -13,7 +13,6 @@
 /* High Level Configuration Options */
 #define CONFIG_BOOKE           1       /* BOOKE */
 #define CONFIG_E500            1       /* BOOKE e500 family */
-#define CONFIG_MPC8568         1       /* MPC8568 specific */
 #define CONFIG_MPC8568MDS      1       /* MPC8568MDS board specific */
 
 #define        CONFIG_SYS_TEXT_BASE    0xfff80000
index 722fb66c63d07cfd09debb9ed82f267e2a02fa2b..c6f12d05344f0ce157c6cfade8a73a98912c6546 100644 (file)
@@ -3141,7 +3141,6 @@ CONFIG_MPC83XX_GPIO_1_INIT_VALUE
 CONFIG_MPC83XX_PCI2
 CONFIG_MPC850
 CONFIG_MPC855
-CONFIG_MPC8568
 CONFIG_MPC8568MDS
 CONFIG_MPC8569
 CONFIG_MPC8569MDS