configs: Convert CONFIG_USE_NAND to CONFIG_NAND
authorAdam Ford <aford173@gmail.com>
Tue, 10 Jul 2018 11:47:33 +0000 (06:47 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 22 Jul 2018 02:26:59 +0000 (22:26 -0400)
The DA850-EVM and OMAPL138_LCDK both use checks for CONFIG_USE_NAND.
This patch changes these checks to CONFIG_NAND which is already defined
in Kconfig.  Since the OMAPL138_LCDK already had CONFIG_NAND defined in its
defconfig, it can be deleted from configs/omapl138_lcdk.h.

Signed-off-by: Adam Ford <aford173@gmail.com>
include/configs/da850evm.h
include/configs/omapl138_lcdk.h
scripts/config_whitelist.txt

index 006cd03c00a1836877a0cb0d3b469bd828404b56..973a32276955d06a298e099dd8ee7af6c7e534ab 100644 (file)
 /*
  * Flash & Environment
  */
-#ifdef CONFIG_USE_NAND
+#ifdef CONFIG_NAND
 #define CONFIG_ENV_OFFSET              0x0 /* Block 0--not used by bootcode */
 #define CONFIG_ENV_SIZE                        (128 << 10)
 #define        CONFIG_SYS_NAND_USE_FLASH_BBT
 #define CONFIG_CLOCKS
 #endif
 
-#ifdef CONFIG_USE_NAND
+#ifdef CONFIG_NAND
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #endif
 
-#if !defined(CONFIG_USE_NAND) && \
+#if !defined(CONFIG_NAND) && \
        !defined(CONFIG_USE_NOR) && \
        !defined(CONFIG_USE_SPIFLASH)
 #define CONFIG_ENV_SIZE                (16 << 10)
index f34e35e20a8816ddccce84c69f34aa9412a64d38..85d6b03749797f144069eeac248da46883aa61f8 100644 (file)
@@ -16,7 +16,6 @@
 #define CONFIG_DRIVER_TI_EMAC
 #undef CONFIG_USE_SPIFLASH
 #undef CONFIG_SYS_USE_NOR
-#define        CONFIG_USE_NAND
 
 /*
 * Disable DM_* for SPL build and can be re-enabled after adding
 /*
  * Flash & Environment
  */
-#ifdef CONFIG_USE_NAND
+#ifdef CONFIG_NAND
 #define CONFIG_ENV_OFFSET              0x0 /* Block 0--not used by bootcode */
 #define CONFIG_ENV_SIZE                        (128 << 9)
 #define        CONFIG_SYS_NAND_USE_FLASH_BBT
 #define CONFIG_CLOCKS
 #endif
 
-#ifdef CONFIG_USE_NAND
+#ifdef CONFIG_NAND
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #endif
 
-#if !defined(CONFIG_USE_NAND) && \
+#if !defined(CONFIG_NAND) && \
        !defined(CONFIG_SYS_USE_NOR) && \
        !defined(CONFIG_USE_SPIFLASH)
 #define CONFIG_ENV_SIZE                (16 << 10)
index d6d4fb90d7b70f6f9e3985e4b347350c7c11e0c3..8e137c7d0acf0e517dfe378569c53ba42c9ee71f 100644 (file)
@@ -4675,7 +4675,6 @@ CONFIG_USB_XHCI_KEYSTONE
 CONFIG_USB_XHCI_OMAP
 CONFIG_USER_LOWLEVEL_INIT
 CONFIG_USE_INTERRUPT
-CONFIG_USE_NAND
 CONFIG_USE_NOR
 CONFIG_USE_ONENAND_BOARD_INIT
 CONFIG_USE_SPIFLASH