diff mbox

[U-Boot,95/97] powerpc: MPC8641HPCN: Remove macro CONFIG_MPC8641HPCN

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

Commit Message

York Sun Nov. 24, 2016, 7:55 a.m. UTC
Use TARGET_MPC8641HPCN from Kconfig instead.

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

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

Patch

diff --git a/board/freescale/common/pixis.h b/board/freescale/common/pixis.h
index bb0e65e..e6e0f66 100644
--- a/board/freescale/common/pixis.h
+++ b/board/freescale/common/pixis.h
@@ -132,7 +132,7 @@  typedef struct pixis {
 	u8 res4[33];
 } __attribute__ ((packed)) pixis_t;
 
-#elif defined(CONFIG_MPC8641HPCN)
+#elif defined(CONFIG_TARGET_MPC8641HPCN)
 typedef struct pixis {
 	u8 id;
 	u8 ver;
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 66f8e96..c94b329 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -17,7 +17,6 @@ 
 #define __CONFIG_H
 
 /* High Level Configuration Options */
-#define CONFIG_MPC8641HPCN	1	/* MPC8641HPCN board specific */
 #define CONFIG_MP		1	/* support multiple processors */
 #define CONFIG_LINUX_RESET_VEC	0x100	/* Reset vector used by Linux */
 #define CONFIG_ADDR_MAP		1	/* Use addr map */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 91654cf..6bb001d 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -3147,7 +3147,6 @@  CONFIG_MPC85XX_PCI2
 CONFIG_MPC860
 CONFIG_MPC860T
 CONFIG_MPC862
-CONFIG_MPC8641HPCN
 CONFIG_MPC866
 CONFIG_MPC866_FAMILY
 CONFIG_MPC86x