powerpc: T4240RDB: Remove macro CONFIG_T4240RDB
Use CONFIG_TARGET_T4240RDB instead.
Signed-off-by: York Sun <york.sun@nxp.com>
diff --git a/board/freescale/t4rdb/Makefile b/board/freescale/t4rdb/Makefile
index c15560e..209983a 100644
--- a/board/freescale/t4rdb/Makefile
+++ b/board/freescale/t4rdb/Makefile
@@ -8,7 +8,7 @@
obj-y += spl.o
else
obj-$(CONFIG_TARGET_T4160RDB) += t4240rdb.o
-obj-$(CONFIG_T4240RDB) += t4240rdb.o
+obj-$(CONFIG_TARGET_T4240RDB) += t4240rdb.o
obj-y += cpld.o
obj-y += eth.o
obj-$(CONFIG_PCI) += pci.o
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 2fac19f..da536f0 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -10,8 +10,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_T4240RDB
-
#define CONFIG_FSL_SATA_V2
#define CONFIG_PCIE4
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 56992fc..17228ce 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -7828,7 +7828,6 @@
CONFIG_T2080QDS
CONFIG_T2080RDB
CONFIG_T2081QDS
-CONFIG_T4240RDB
CONFIG_TAM3517_SETTINGS
CONFIG_TAM3517_SW3_SETTINGS
CONFIG_TCA642X