summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-12-28 08:43:37 -0800
committerTom Rini <trini@konsulko.com>2017-01-04 19:40:27 -0500
commit86e0a3132144d19d39a8c14adada27ce3efbce6c (patch)
treeccf6fc4344d8ffe23dc33f0f198700624cab99ce
parent80d261881f93ee474d1c9188b5c2b5b42b0c4e6f (diff)
downloadu-boot-86e0a3132144d19d39a8c14adada27ce3efbce6c.tar.gz
u-boot-86e0a3132144d19d39a8c14adada27ce3efbce6c.tar.xz
u-boot-86e0a3132144d19d39a8c14adada27ce3efbce6c.zip
powerpc: T2080RDB: Remove macro CONFIG_T2080RDB
Use TARGET_T2080RDB from Kconfig instead. Signed-off-by: York Sun <york.sun@nxp.com>
-rw-r--r--arch/powerpc/include/asm/fsl_secure_boot.h2
-rw-r--r--board/freescale/t208xrdb/Makefile2
-rw-r--r--include/configs/T208xRDB.h1
-rw-r--r--scripts/config_whitelist.txt1
4 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/fsl_secure_boot.h b/arch/powerpc/include/asm/fsl_secure_boot.h
index 95569a1f43..89ca45cb65 100644
--- a/arch/powerpc/include/asm/fsl_secure_boot.h
+++ b/arch/powerpc/include/asm/fsl_secure_boot.h
@@ -30,7 +30,7 @@
defined(CONFIG_TARGET_T4160QDS) || \
defined(CONFIG_TARGET_T4240QDS) || \
defined(CONFIG_TARGET_T2080QDS) || \
- defined(CONFIG_T2080RDB) || \
+ defined(CONFIG_TARGET_T2080RDB) || \
defined(CONFIG_TARGET_T1040QDS) || \
defined(CONFIG_T104xD4QDS) || \
defined(CONFIG_TARGET_T1040RDB) || \
diff --git a/board/freescale/t208xrdb/Makefile b/board/freescale/t208xrdb/Makefile
index cd8fe096d8..25ea66a024 100644
--- a/board/freescale/t208xrdb/Makefile
+++ b/board/freescale/t208xrdb/Makefile
@@ -7,7 +7,7 @@
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
else
-obj-$(CONFIG_T2080RDB) += t208xrdb.o eth_t208xrdb.o cpld.o
+obj-$(CONFIG_TARGET_T2080RDB) += t208xrdb.o eth_t208xrdb.o cpld.o
obj-$(CONFIG_PCI) += pci.o
endif
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index af229005ec..454bfdc0f6 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -11,7 +11,6 @@
#ifndef __T2080RDB_H
#define __T2080RDB_H
-#define CONFIG_T2080RDB
#define CONFIG_ICS307_REFCLK_HZ 25000000 /* ICS307 ref clk freq */
#define CONFIG_USB_EHCI
#define CONFIG_FSL_SATA_V2
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index f4627ca6cb..3a71753080 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -7792,7 +7792,6 @@ CONFIG_SYS_XWAY_EBU_BOOTCFG
CONFIG_SYS_ZYNQ_QSPI_WAIT
CONFIG_SYS_ZYNQ_SPI_WAIT
CONFIG_SYS_i2C_FSL
-CONFIG_T2080RDB
CONFIG_T2081QDS
CONFIG_TAM3517_SETTINGS
CONFIG_TAM3517_SW3_SETTINGS