powerpc: MPC8610HPCD: Remove macro CONFIG_MPC8610HPCD
Use TARGET_MPC8610HPCD from Kconfig instead.
Signed-off-by: York Sun <york.sun@nxp.com>
diff --git a/board/freescale/common/pixis.h b/board/freescale/common/pixis.h
index df3cc09..bb0e65e 100644
--- a/board/freescale/common/pixis.h
+++ b/board/freescale/common/pixis.h
@@ -102,7 +102,7 @@
u8 res4[25];
} __attribute__ ((packed)) pixis_t;
-#elif defined(CONFIG_MPC8610HPCD)
+#elif defined(CONFIG_TARGET_MPC8610HPCD)
typedef struct pixis {
u8 id;
u8 ver; /* also called arch */
diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index b71a0f5..75693a0 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -12,7 +12,6 @@
#define __CONFIG_H
/* High Level Configuration Options */
-#define CONFIG_MPC8610HPCD 1 /* MPC8610HPCD board specific */
#define CONFIG_LINUX_RESET_VEC 0x100 /* Reset vector used by Linux */
#define CONFIG_SYS_TEXT_BASE 0xfff00000
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index e5e91d9..75fe00b 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -3146,7 +3146,6 @@
CONFIG_MPC85XX_PCI2
CONFIG_MPC860
CONFIG_MPC860T
-CONFIG_MPC8610HPCD
CONFIG_MPC862
CONFIG_MPC8641
CONFIG_MPC8641HPCN