]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: move CONFIG_MTD in defconfigs when set in arch includes
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Oct 2019 17:50:16 +0000 (19:50 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2019 18:26:17 +0000 (13:26 -0500)
Let's be consistent and always declare CONFIG_MTD from the defconfig
file when needed.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
configs/turris_mox_defconfig
include/configs/mvebu_armada-37xx.h
include/configs/socfpga_stratix10_socdk.h

index fafc47119369e0939c217cecd109841f4dbd9d65..b88cc4b84209687fdc2f395a72b750044afee2c3 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_XENON=y
+CONFIG_MTD=y
 CONFIG_SF_DEFAULT_MODE=0
 CONFIG_SF_DEFAULT_SPEED=20000000
 CONFIG_SPI_FLASH_MACRONIX=y
index 8b54beee0eab8ca84ed594c4051402b3afd93a1b..024a9717087a7b49fcba0765246b510b5a8e34fa 100644 (file)
@@ -56,7 +56,6 @@
  * SPI Flash configuration
  */
 
-#define CONFIG_MTD                     /* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS          /* required for UBI partition support */
 
 /* Environment in SPI NOR flash */
index 4e7c300bf9e0513124e4a752014fb63e23bbcf8e..a10cbec17f2f691bbdd700fc8744b951e42e22b9 100644 (file)
@@ -62,7 +62,6 @@
 /*#define CONFIG_ENV_IS_IN_SPI_FLASH*/
 
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_MTD
 #define CONFIG_MTD_PARTITIONS
 #define MTDIDS_DEFAULT                 "nor0=ff705000.spi.0"
 #endif /* CONFIG_SPL_BUILD */