From 267c5b79899dcbdfa190b8c6633a2bf517a73123 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Fri, 26 May 2017 10:12:09 +0200 Subject: [PATCH] arm: mx6: remove unused config variable CONFIG_SPL_NAND_MXS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The config variable CONFIG_SPL_NAND_MXS is only set in include/configs/imx6_spl.h but used nowhere. Remove it. Signed-off-by: Lothar Waßmann Reviewed-by: Jagan Teki --- include/configs/imx6_spl.h | 5 ----- scripts/config_whitelist.txt | 1 - 2 files changed, 6 deletions(-) diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h index 4598d272d5..bda9541af6 100644 --- a/include/configs/imx6_spl.h +++ b/include/configs/imx6_spl.h @@ -35,11 +35,6 @@ */ #define CONFIG_SPL_PAD_TO 0x11000 -/* NAND support */ -#if defined(CONFIG_SPL_NAND_SUPPORT) -#define CONFIG_SPL_NAND_MXS -#endif - /* MMC support */ #if defined(CONFIG_SPL_MMC_SUPPORT) #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index e8f49ebe5d..5b7257b5a8 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -2617,7 +2617,6 @@ CONFIG_SPL_NAND_ECC CONFIG_SPL_NAND_INIT CONFIG_SPL_NAND_LOAD CONFIG_SPL_NAND_MINIMAL -CONFIG_SPL_NAND_MXS CONFIG_SPL_NAND_RAW_ONLY CONFIG_SPL_NAND_SIMPLE CONFIG_SPL_NAND_SOFTECC -- 2.39.2