Convert CONFIG_NAND_DAVINCI to Kconfig
authorAdam Ford <aford173@gmail.com>
Sun, 8 Jul 2018 11:43:36 +0000 (06:43 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 22 Jul 2018 02:26:56 +0000 (22:26 -0400)
This converts the following to Kconfig:
   CONFIG_NAND_DAVINCI

Signed-off-by: Adam Ford <aford173@gmail.com>
18 files changed:
configs/ea20_defconfig
configs/ipam390_defconfig
configs/k2e_evm_defconfig
configs/k2e_hs_evm_defconfig
configs/k2g_evm_defconfig
configs/k2g_hs_evm_defconfig
configs/k2hk_evm_defconfig
configs/k2hk_hs_evm_defconfig
configs/k2l_evm_defconfig
configs/k2l_hs_evm_defconfig
configs/omapl138_lcdk_defconfig
drivers/mtd/nand/Kconfig
include/configs/da850evm.h
include/configs/ea20.h
include/configs/ipam390.h
include/configs/omapl138_lcdk.h
include/configs/ti_armv7_keystone2.h
scripts/config_whitelist.txt

index 497e5515d76bb77def629c9b3ef7b6f3c2a83b3b..43292a126d208336f5b7eaa277f90d9a390bb3e8 100644 (file)
@@ -30,6 +30,8 @@ CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 # CONFIG_MMC is not set
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SYS_NS16550=y
index 15c4944b3b0f581b47a8f9ad0a47254d0180dfb7..d1a6e542cb6f581975849ab5e4df5d0636619af0 100644 (file)
@@ -34,4 +34,6 @@ CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
 CONFIG_ENV_IS_IN_NAND=y
 # CONFIG_MMC is not set
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_SYS_NS16550=y
index 3307839829fc431c75d418e639c48405e1bad633..c5bb84a8d6dcb216da2108452a1ab6a5a32908cf 100644 (file)
@@ -36,6 +36,8 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_TI_AEMIF=y
 # CONFIG_MMC is not set
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index ef6abc868dd8d6bc80d0abda1c84c5cd9ce049a1..a86eeb8b14f7abcf736a4305015e9b94a10472b7 100644 (file)
@@ -29,6 +29,8 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_TI_AEMIF=y
 # CONFIG_MMC is not set
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index ede8f6a7014d4b1c95cfa9ab7d71e64b61c18e9c..911618c17a65751cad2ab91ed3abef00d246319c 100644 (file)
@@ -36,6 +36,8 @@ CONFIG_DM=y
 # CONFIG_BLK is not set
 CONFIG_DM_MMC=y
 CONFIG_MMC_OMAP_HS=y
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
index 04f4b02a097606e286cfa97e1bfa0b9ab41a84cc..174af79960a7d51ed7e894daee1f63394c15d306 100644 (file)
@@ -29,6 +29,8 @@ CONFIG_DM=y
 # CONFIG_BLK is not set
 CONFIG_DM_MMC=y
 CONFIG_MMC_OMAP_HS=y
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
index fa800f5ef7e50b0886677ac6feb2d4fdb370b034..942e44e7a974ff6b8ea49f13134ffcadd2e1f2a0 100644 (file)
@@ -36,6 +36,8 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_TI_AEMIF=y
 # CONFIG_MMC is not set
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 2cf5c4fd7ce658eb0b446a5ea701bce099ddece1..12be37f0b739efe4e7cfe11ac6436ab4850ffa3d 100644 (file)
@@ -29,6 +29,8 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_TI_AEMIF=y
 # CONFIG_MMC is not set
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 1034d36455cdd0f7eb83a8dda50f8ae7bc04250a..5381e9f7cc38f99ad1f3af51d54de5901b77238b 100644 (file)
@@ -36,6 +36,8 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_TI_AEMIF=y
 # CONFIG_MMC is not set
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index d369d320d69ef3614ae214c957945ac92d72a549..0381a7240ce63c7b425f7922fd19d84c50651500 100644 (file)
@@ -28,6 +28,8 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_TI_AEMIF=y
 # CONFIG_MMC is not set
+CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index cabea06256a385680b912cbd1413fd8726dab2ef..4a97269dd40b3d86e019b730880fe59251ad31e5 100644 (file)
@@ -35,6 +35,7 @@ CONFIG_DM=y
 CONFIG_DM_I2C=y
 CONFIG_DM_I2C_COMPAT=y
 CONFIG_NAND=y
+CONFIG_NAND_DAVINCI=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x28000
index 8175fbb33525d8dcfdd7bdfa70da7d112b84e611..1e4ea7bdd4d00772848ffcffffa9c71535c08f6b 100644 (file)
@@ -16,6 +16,12 @@ config NAND_ATMEL
          Enable this driver for NAND flash platforms using an Atmel NAND
          controller.
 
+config NAND_DAVINCI
+       bool "Support TI Davinci NAND controller"
+       help
+         Enable this driver for NAND flash controllers available in TI Davinci
+         and Keystone2 platforms
+
 config NAND_DENALI
        bool
        select SYS_NAND_SELF_INIT
index ebfdd1c7a3728abd54a86650fefb072da2846db2..006cd03c00a1836877a0cb0d3b469bd828404b56 100644 (file)
  * Flash & Environment
  */
 #ifdef CONFIG_USE_NAND
-#define CONFIG_NAND_DAVINCI
 #define CONFIG_ENV_OFFSET              0x0 /* Block 0--not used by bootcode */
 #define CONFIG_ENV_SIZE                        (128 << 10)
 #define        CONFIG_SYS_NAND_USE_FLASH_BBT
index ee122ad7a40378a9f0440a3a717a9f4657bd4083..211243123a4fb2cf927ded1ad6d417b2dbab0c1f 100644 (file)
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
-#define CONFIG_NAND_DAVINCI
 #define        CONFIG_SYS_NAND_PAGE_2K
 #define CONFIG_SYS_NAND_NO_SUBPAGE
 #define CONFIG_SYS_NAND_CS             2
index 08978fa6581eb1aafd24105612912ecb0d4f9fc8..c5171e04155e455369117df7f57924c91c3cfaa4 100644 (file)
 /*
  * Flash & Environment
  */
-#define CONFIG_NAND_DAVINCI
 #define CONFIG_ENV_OFFSET              0x0 /* Block 0--not used by bootcode */
 #define CONFIG_ENV_SIZE                        (128 << 10)
 #define        CONFIG_SYS_NAND_USE_FLASH_BBT
index 879c8a0cffacde5d92b3e788324a95ef6f0317ab..f34e35e20a8816ddccce84c69f34aa9412a64d38 100644 (file)
  * Flash & Environment
  */
 #ifdef CONFIG_USE_NAND
-#define CONFIG_NAND_DAVINCI
 #define CONFIG_ENV_OFFSET              0x0 /* Block 0--not used by bootcode */
 #define CONFIG_ENV_SIZE                        (128 << 9)
 #define        CONFIG_SYS_NAND_USE_FLASH_BBT
index ccd466583afb04445ce4d64be6b06e373ba6a57a..18a03b3955f201cfa772cbd8a37723d64156df7f 100644 (file)
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 
 /* NAND Configuration */
-#define CONFIG_NAND_DAVINCI
 #define CONFIG_KEYSTONE_RBL_NAND
 #define CONFIG_KEYSTONE_NAND_MAX_RBL_SIZE      CONFIG_ENV_OFFSET
 #define CONFIG_SYS_NAND_MASK_CLE               0x4000
index e92f97ecc2520f20102918dd5e82e11286aa7a1e..d6d4fb90d7b70f6f9e3985e4b347350c7c11e0c3 100644 (file)
@@ -1369,7 +1369,6 @@ CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC
 CONFIG_NAND_ACTL
 CONFIG_NAND_CS_INIT
 CONFIG_NAND_DATA_REG
-CONFIG_NAND_DAVINCI
 CONFIG_NAND_ECC_BCH
 CONFIG_NAND_ENV_DST
 CONFIG_NAND_FSL_ELBC