]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: Make NAND_BOOT and ONENAND_BOOT imply NAND
authorAdam Ford <aford173@gmail.com>
Sun, 8 Jul 2018 12:28:10 +0000 (07:28 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 22 Jul 2018 02:26:58 +0000 (22:26 -0400)
Some boards indicate support from booting NAND or
ONENAND booting, but don't enable the CONFIG_NAND.  This
makes those boards imply NAND which will make
enabling other flags that are dependent on CONFIG_NAND
possible and easier to migrate.

Signed-off-by: Adam Ford <aford173@gmail.com>
12 files changed:
common/Kconfig
configs/at91sam9m10g45ek_nandflash_defconfig
configs/at91sam9n12ek_nandflash_defconfig
configs/at91sam9x5ek_nandflash_defconfig
configs/ls2080aqds_nand_defconfig
configs/ls2080ardb_nand_defconfig
configs/sama5d2_ptc_ek_nandflash_defconfig
configs/sama5d36ek_cmp_nandflash_defconfig
configs/sama5d3_xplained_nandflash_defconfig
configs/sama5d3xek_nandflash_defconfig
configs/sama5d4_xplained_nandflash_defconfig
configs/sama5d4ek_nandflash_defconfig

index 81e88ea77c170a4c0ee96ae4559f473ed4134530..dc2e1c23dd819c31beacbf114559ebc2283726c2 100644 (file)
@@ -125,6 +125,7 @@ config NOR_BOOT
 config NAND_BOOT
        bool "Support for booting from NAND flash"
        default n
+       imply NAND
        help
          Enabling this will make a U-Boot binary that is capable of being
          booted via NAND flash. This is not a must, some SoCs need this,
@@ -133,6 +134,7 @@ config NAND_BOOT
 config ONENAND_BOOT
        bool "Support for booting from ONENAND"
        default n
+       imply NAND
        help
          Enabling this will make a U-Boot binary that is capable of being
          booted via ONENAND. This is not a must, some SoCs need this,
index d85a92a026487446bfc5bc5ec573701ef4de0028..5b5a942f2381691f41c6f3caac07565821a95fa4 100644 (file)
@@ -38,7 +38,6 @@ CONFIG_DM_GPIO=y
 CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_ETH=y
 CONFIG_MACB=y
index 33da570b4d9fd86c465a3b66cb5ef1f265c36322..1627206c9e9ae31ed80912f778dc429e6a313ed6 100644 (file)
@@ -38,7 +38,6 @@ CONFIG_DM_GPIO=y
 CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
index 5dab4bae885eabb282a7dd451a2b7667ec4ec5d1..87944fce47c779a4a5d5804816ab1912b6825d8a 100644 (file)
@@ -39,7 +39,6 @@ CONFIG_DM_GPIO=y
 CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
index 8084e97bd2a985d0a9fab6f22e1cedfeb538fb68..039672f6cc147e39b38a55a203cae24560762e50 100644 (file)
@@ -42,7 +42,6 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_FSL_CAAM=y
 CONFIG_FSL_ESDHC=y
-CONFIG_NAND=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_PHYLIB=y
 CONFIG_NETDEVICES=y
index 5f896ea72cfc480d7d59928b1e66ee624ea35bef..81d1b6c6dd71717fb4fd0d65513136bc9434a46c 100644 (file)
@@ -40,7 +40,6 @@ CONFIG_DM=y
 CONFIG_FSL_CAAM=y
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD_NOR_FLASH=y
-CONFIG_NAND=y
 CONFIG_PHYLIB=y
 CONFIG_NETDEVICES=y
 CONFIG_PHY_GIGE=y
index b4a7376197e5f92903e972053cb181bd4d3d14a2..ebba7599f0f8c871e4a9d5c016721da0a9860148 100644 (file)
@@ -45,7 +45,6 @@ CONFIG_I2C_EEPROM=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ATMEL=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_ETH=y
 CONFIG_MACB=y
index 46ec7c728fb961ce5dd84e56d9113a08b49b71fe..9def836578c980f609465248023cc54d1e0ace99 100644 (file)
@@ -40,7 +40,6 @@ CONFIG_DM_GPIO=y
 CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
index 4efcba6062250c84a6195c3870cf7b592613618a..8d0e475ccaf720815cad3732ba7765e2865184f3 100644 (file)
@@ -54,7 +54,6 @@ CONFIG_DM_GPIO=y
 CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_ETH=y
 CONFIG_MACB=y
index b2e46e5bdbbd016003e0eed34de43d986312790c..940decc32298b017b58555f4ae76c716d2831e09 100644 (file)
@@ -56,7 +56,6 @@ CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
 CONFIG_MTD_NOR_FLASH=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
index eae8a04c25541828c6e38596b8845b7bcd7bfc32..e2f8bbbe497116781f09bcf102cb906708633fa3 100644 (file)
@@ -52,7 +52,6 @@ CONFIG_SYS_I2C_AT91=y
 CONFIG_I2C_EEPROM=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
index 60fc8add2933ac011432e9849e83806f438e7011..1b0be82122cc5b7db7a4f2a9d1f7fce0f60f8fb9 100644 (file)
@@ -52,7 +52,6 @@ CONFIG_DM_GPIO=y
 CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
-CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y