diff options
author | Tom Rini | 2017-10-22 17:55:07 -0400 |
---|---|---|
committer | Tom Rini | 2017-11-05 11:21:35 -0500 |
commit | 43ede0bca7fc1590b623832b743213b818257a27 (patch) | |
tree | c7612aadc5ff9c2768b26d383858d83b7339b13b /configs/stmark2_defconfig | |
parent | 804dcf771aacc75f595d3656be0ca6a7887b6672 (diff) |
Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT
We move all instances of CONFIG_MTDIDS_DEFAULT and
CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files.
There's a few cases here where we need to expand upon what was in the
header file.
Tested-by: Adam Ford <aford173@gmail.com> #omap3_logic
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/stmark2_defconfig')
-rw-r--r-- | configs/stmark2_defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/stmark2_defconfig b/configs/stmark2_defconfig index 3639aaa9e31..ffb8af99b9a 100644 --- a/configs/stmark2_defconfig +++ b/configs/stmark2_defconfig @@ -18,6 +18,9 @@ CONFIG_CMD_SPI=y # CONFIG_CMD_NET is not set # CONFIG_CMD_NFS is not set CONFIG_CMD_CACHE=y +CONFIG_CMD_MTDPARTS=y +CONFIG_MTDIDS_DEFAULT="nor0=spi-flash.0" +CONFIG_MTDPARTS_DEFAULT="mtdparts=spi-flash.0:1m(u-boot),7m(kernel),-(rootfs)" CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_MTD=y CONFIG_REGEX=y |