[U-Boot] [PATCH 26/97] powerpc: MPC8572DS: Remove macro CONFIG_MPC8572DS

York Sun york.sun at nxp.com
Thu Nov 24 08:54:07 CET 2016


Use CONFIG_TARGET_MPC8572DS instead.

Signed-off-by: York Sun <york.sun at nxp.com>
---

 board/freescale/common/Makefile | 2 +-
 board/freescale/common/pixis.h  | 2 +-
 include/configs/MPC8572DS.h     | 1 -
 scripts/config_whitelist.txt    | 1 -
 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
-- 
2.7.4



More information about the U-Boot mailing list