summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2019-10-03 19:50:16 +0200
committerTom Rini <[email protected]>2019-12-04 13:26:17 -0500
commite0a4c2d2a7e6806668ad4818cd25e3a0c0071774 (patch)
tree679e061b996a72e3b0341cb3035dc2751d1727f4 /include
parentf6434a95619e52ffaa1ac7a3a030d00440e479c3 (diff)
configs: move CONFIG_MTD in defconfigs when set in arch includes
Let's be consistent and always declare CONFIG_MTD from the defconfig file when needed. Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mvebu_armada-37xx.h1
-rw-r--r--include/configs/socfpga_stratix10_socdk.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
index 8b54beee0ea..024a9717087 100644
--- a/include/configs/mvebu_armada-37xx.h
+++ b/include/configs/mvebu_armada-37xx.h
@@ -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 */
diff --git a/include/configs/socfpga_stratix10_socdk.h b/include/configs/socfpga_stratix10_socdk.h
index 4e7c300bf9e..a10cbec17f2 100644
--- a/include/configs/socfpga_stratix10_socdk.h
+++ b/include/configs/socfpga_stratix10_socdk.h
@@ -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 */