[U-Boot] [PATCH 31/97] powerpc: P1022DS: Remove macro CONFIG_P1022DS

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


Use CONFIG_TARGET_P1022DS instead.

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

 board/freescale/common/Makefile | 2 +-
 include/configs/P1022DS.h       | 1 -
 scripts/config_whitelist.txt    | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index 7e8587c..91374ac 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -51,7 +51,7 @@ obj-$(CONFIG_TARGET_MPC8555CDS)	+= cds_pci_ft.o
 
 obj-$(CONFIG_TARGET_MPC8536DS)	+= ics307_clk.o
 obj-$(CONFIG_TARGET_MPC8572DS)	+= ics307_clk.o
-obj-$(CONFIG_P1022DS)		+= ics307_clk.o
+obj-$(CONFIG_TARGET_P1022DS)		+= ics307_clk.o
 obj-$(CONFIG_P2020DS)		+= ics307_clk.o
 obj-$(CONFIG_P3041DS)		+= ics307_clk.o
 obj-$(CONFIG_P4080DS)		+= ics307_clk.o
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 88d1d35..6f07080 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -90,7 +90,6 @@
 /* High Level Configuration Options */
 #define CONFIG_BOOKE			/* BOOKE */
 #define CONFIG_E500			/* BOOKE e500 family */
-#define CONFIG_P1022DS
 #define CONFIG_MP			/* support multiple processors */
 
 #ifndef CONFIG_SYS_TEXT_BASE
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 5af7e61..3bb6312 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -3390,7 +3390,6 @@ CONFIG_P1020RDB_PD
 CONFIG_P1020UTM
 CONFIG_P1021
 CONFIG_P1021RDB
-CONFIG_P1022DS
 CONFIG_P1023
 CONFIG_P1024
 CONFIG_P1024RDB
-- 
2.7.4



More information about the U-Boot mailing list