From: York Sun <york.sun@nxp.com>
Date: Fri, 18 Nov 2016 19:17:22 +0000 (-0800)
Subject: powerpc: P2041RDB: Remove macro CONFIG_P2041RDB
X-Git-Tag: v2025.01-rc5-pxa1908~8054^2~43
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=37107facbc3d1c57414ae23a807a073b360ce232;p=u-boot.git

powerpc: P2041RDB: Remove macro CONFIG_P2041RDB

Use CONFIG_TARGET_P2041RDB instead.

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

diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index 91374ac424..6295d1c999 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 500bb00220..417bfd36b1 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 7b7b084c7d..f92d69668e 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