From 37376ae0dc679003aa203fa62353f01f0769d640 Mon Sep 17 00:00:00 2001 From: York Sun Date: Wed, 23 Nov 2016 14:10:14 -0800 Subject: [PATCH] powerpc: MPC8641HPCN: Remove macro CONFIG_MPC8641HPCN Use TARGET_MPC8641HPCN from Kconfig instead. Signed-off-by: York Sun --- board/freescale/common/pixis.h | 2 +- include/configs/MPC8641HPCN.h | 1 - scripts/config_whitelist.txt | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/board/freescale/common/pixis.h b/board/freescale/common/pixis.h index bb0e65e356..e6e0f66fe3 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 66f8e963f9..c94b3296d4 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 91654cf9b4..6bb001d5c2 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 -- 2.25.1