From 86e0a3132144d19d39a8c14adada27ce3efbce6c Mon Sep 17 00:00:00 2001 From: York Sun Date: Wed, 28 Dec 2016 08:43:37 -0800 Subject: [PATCH] powerpc: T2080RDB: Remove macro CONFIG_T2080RDB Use TARGET_T2080RDB from Kconfig instead. Signed-off-by: York Sun --- arch/powerpc/include/asm/fsl_secure_boot.h | 2 +- board/freescale/t208xrdb/Makefile | 2 +- include/configs/T208xRDB.h | 1 - scripts/config_whitelist.txt | 1 - 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 -- 2.30.2