diff options
author | Tom Rini <trini@konsulko.com> | 2017-10-22 17:55:07 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-05 11:21:35 -0500 |
commit | 43ede0bca7fc1590b623832b743213b818257a27 (patch) | |
tree | c7612aadc5ff9c2768b26d383858d83b7339b13b /configs/at91sam9n12ek_spiflash_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/at91sam9n12ek_spiflash_defconfig')
-rw-r--r-- | configs/at91sam9n12ek_spiflash_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/at91sam9n12ek_spiflash_defconfig b/configs/at91sam9n12ek_spiflash_defconfig index 85c6ff076e1..dcada1d816a 100644 --- a/configs/at91sam9n12ek_spiflash_defconfig +++ b/configs/at91sam9n12ek_spiflash_defconfig @@ -24,6 +24,8 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_PING=y CONFIG_CMD_FAT=y CONFIG_CMD_MTDPARTS=y +CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand" +CONFIG_MTDPARTS_DEFAULT="mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs)" CONFIG_OF_CONTROL=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_DM=y |