summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-16 11:41:12 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:06 -0800
commit2fe0cd85823de5dbf47692d5655d13aac40ebe42 (patch)
tree5d04f3061b121e08fe187cba31aece1ad33d1805
parentc8f48474bc6bac1428b3f8a7268f4e6886dafc6d (diff)
downloadu-boot-imx-2fe0cd85823de5dbf47692d5655d13aac40ebe42.zip
u-boot-imx-2fe0cd85823de5dbf47692d5655d13aac40ebe42.tar.gz
u-boot-imx-2fe0cd85823de5dbf47692d5655d13aac40ebe42.tar.bz2
powerpc: MPC8572DS: Remove macro CONFIG_MPC8572DS
Use CONFIG_TARGET_MPC8572DS instead. Signed-off-by: York Sun <york.sun@nxp.com>
-rw-r--r--board/freescale/common/Makefile2
-rw-r--r--board/freescale/common/pixis.h2
-rw-r--r--include/configs/MPC8572DS.h1
-rw-r--r--scripts/config_whitelist.txt1
4 files changed, 2 insertions, 4 deletions
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index 06ce311..7e8587c 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -50,7 +50,7 @@ obj-$(CONFIG_TARGET_MPC8548CDS) += cds_pci_ft.o
obj-$(CONFIG_TARGET_MPC8555CDS) += cds_pci_ft.o
obj-$(CONFIG_TARGET_MPC8536DS) += ics307_clk.o
-obj-$(CONFIG_MPC8572DS) += ics307_clk.o
+obj-$(CONFIG_TARGET_MPC8572DS) += ics307_clk.o
obj-$(CONFIG_P1022DS) += ics307_clk.o
obj-$(CONFIG_P2020DS) += ics307_clk.o
obj-$(CONFIG_P3041DS) += ics307_clk.o
diff --git a/board/freescale/common/pixis.h b/board/freescale/common/pixis.h
index 3c59157..df3cc09 100644
--- a/board/freescale/common/pixis.h
+++ b/board/freescale/common/pixis.h
@@ -73,7 +73,7 @@ typedef struct pixis {
u8 res2[34];
} __attribute__ ((packed)) pixis_t;
-#elif defined(CONFIG_MPC8572DS)
+#elif defined(CONFIG_TARGET_MPC8572DS)
typedef struct pixis {
u8 id;
u8 ver;
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 36d2ecc..e134560 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -28,7 +28,6 @@
/* High Level Configuration Options */
#define CONFIG_BOOKE 1 /* BOOKE */
#define CONFIG_E500 1 /* BOOKE e500 family */
-#define CONFIG_MPC8572DS 1
#define CONFIG_MP 1 /* support multiple processors */
#define CONFIG_FSL_ELBC 1 /* Has Enhanced localbus controller */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index ecf15b8..db34894 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -3142,7 +3142,6 @@ CONFIG_MPC83XX_PCI2
CONFIG_MPC850
CONFIG_MPC855
CONFIG_MPC857
-CONFIG_MPC8572DS
CONFIG_MPC85XX_FEC
CONFIG_MPC85XX_FEC_NAME
CONFIG_MPC85XX_PCI2