[U-Boot] [PATCH 87/97] powerpc: T4240RDB: Remove macro CONFIG_T4240RDB

York Sun york.sun at nxp.com
Thu Nov 24 08:55:08 CET 2016


Use CONFIG_TARGET_T4240RDB instead.

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

 board/freescale/t4rdb/Makefile | 2 +-
 include/configs/T4240RDB.h     | 2 --
 scripts/config_whitelist.txt   | 1 -
 3 files changed, 1 insertion(+), 4 deletions(-)

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 @@ ifdef CONFIG_SPL_BUILD
 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_T1040QDS
 CONFIG_T2080QDS
 CONFIG_T2080RDB
 CONFIG_T2081QDS
-CONFIG_T4240RDB
 CONFIG_TAM3517_SETTINGS
 CONFIG_TAM3517_SW3_SETTINGS
 CONFIG_TCA642X
-- 
2.7.4



More information about the U-Boot mailing list