mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
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 <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
This commit is contained in:
parent
f6434a9561
commit
e0a4c2d2a7
3 changed files with 1 additions and 2 deletions
|
@ -49,6 +49,7 @@ CONFIG_DM_MMC=y
|
||||||
CONFIG_MMC_SDHCI=y
|
CONFIG_MMC_SDHCI=y
|
||||||
CONFIG_MMC_SDHCI_SDMA=y
|
CONFIG_MMC_SDHCI_SDMA=y
|
||||||
CONFIG_MMC_SDHCI_XENON=y
|
CONFIG_MMC_SDHCI_XENON=y
|
||||||
|
CONFIG_MTD=y
|
||||||
CONFIG_SF_DEFAULT_MODE=0
|
CONFIG_SF_DEFAULT_MODE=0
|
||||||
CONFIG_SF_DEFAULT_SPEED=20000000
|
CONFIG_SF_DEFAULT_SPEED=20000000
|
||||||
CONFIG_SPI_FLASH_MACRONIX=y
|
CONFIG_SPI_FLASH_MACRONIX=y
|
||||||
|
|
|
@ -56,7 +56,6 @@
|
||||||
* SPI Flash configuration
|
* SPI Flash configuration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CONFIG_MTD /* needed for mtdparts commands */
|
|
||||||
#define CONFIG_MTD_PARTITIONS /* required for UBI partition support */
|
#define CONFIG_MTD_PARTITIONS /* required for UBI partition support */
|
||||||
|
|
||||||
/* Environment in SPI NOR flash */
|
/* Environment in SPI NOR flash */
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
/*#define CONFIG_ENV_IS_IN_SPI_FLASH*/
|
/*#define CONFIG_ENV_IS_IN_SPI_FLASH*/
|
||||||
|
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
#define CONFIG_MTD
|
|
||||||
#define CONFIG_MTD_PARTITIONS
|
#define CONFIG_MTD_PARTITIONS
|
||||||
#define MTDIDS_DEFAULT "nor0=ff705000.spi.0"
|
#define MTDIDS_DEFAULT "nor0=ff705000.spi.0"
|
||||||
#endif /* CONFIG_SPL_BUILD */
|
#endif /* CONFIG_SPL_BUILD */
|
||||||
|
|
Loading…
Reference in a new issue