diff mbox

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

Message ID 1479974118-2912-31-git-send-email-york.sun@nxp.com
State Accepted
Commit aa6e241a4ce8b3b82eaf37d670f93e0db43d036f
Delegated to: York Sun
Headers show

Commit Message

York Sun Nov. 24, 2016, 7:54 a.m. UTC
Use CONFIG_TARGET_P1022DS instead.

Signed-off-by: York Sun <york.sun@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 mbox

Patch

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