diff mbox

[U-Boot,54/97] powerpc: P2041RDB: Remove macro CONFIG_P2041RDB

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

Commit Message

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

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

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

Patch

diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index 91374ac..6295d1c 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -65,7 +65,7 @@  obj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
 obj-$(CONFIG_LS102XA_STREAM_ID)	+= ls102xa_stream_id.o
 
 # deal with common files for P-series corenet based devices
-obj-$(CONFIG_P2041RDB)	+= p_corenet/
+obj-$(CONFIG_TARGET_P2041RDB)	+= p_corenet/
 obj-$(CONFIG_P3041DS)	+= p_corenet/
 obj-$(CONFIG_P4080DS)	+= p_corenet/
 obj-$(CONFIG_P5020DS)	+= p_corenet/
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index 500bb00..417bfd3 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -11,8 +11,6 @@ 
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_P2041RDB
-
 #ifdef CONFIG_RAMBOOT_PBL
 #define CONFIG_RAMBOOT_TEXT_BASE	CONFIG_SYS_TEXT_BASE
 #define CONFIG_RESET_VECTOR_ADDRESS	0xfffffffc
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 7b7b084..f92d696 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -3383,7 +3383,6 @@  CONFIG_OS2_ENV_ADDR
 CONFIG_OS_ENV_ADDR
 CONFIG_OTHBOOTARGS
 CONFIG_OVERWRITE_ETHADDR_ONCE
-CONFIG_P2041RDB
 CONFIG_P3041DS
 CONFIG_P4080DS
 CONFIG_P5020DS