diff options
author | Lukasz Majewski <lukma@denx.de> | 2021-12-27 11:46:39 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-02-19 14:46:54 +0100 |
commit | c4c3fa98ac032ed2bbf0a1cd2443d8645c4dc2af (patch) | |
tree | 2b060434a27e374132f49f8e9159bee74b01fe3b /configs | |
parent | 6e3cef06da0b8be032494239c997c8a5d2bbe065 (diff) | |
download | u-boot-c4c3fa98ac032ed2bbf0a1cd2443d8645c4dc2af.tar.gz u-boot-c4c3fa98ac032ed2bbf0a1cd2443d8645c4dc2af.tar.bz2 u-boot-c4c3fa98ac032ed2bbf0a1cd2443d8645c4dc2af.zip |
xea: defconfig: Update defconfig to support mtd partitions r/w by name
After this change it would be possible to use 'mtd' command to get access
to XEA's SPI-NOR partitions by name (e.g. SPL), not by offsets.
To enable this feature the CONFIG_SPI_FLASH_MTD needs to be defined in the
Kconfig, not in xea.h.
=> mtd list
=> mtd read spl-boot-data1 ${loadaddr} 0x0 4
=> md.l ${loadaddr} 1
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/imx28_xea_defconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/imx28_xea_defconfig b/configs/imx28_xea_defconfig index 8ded0a928e..4273b4b579 100644 --- a/configs/imx28_xea_defconfig +++ b/configs/imx28_xea_defconfig @@ -65,8 +65,6 @@ CONFIG_CMD_REGULATOR=y CONFIG_CMD_EXT4=y CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_MTDPARTS=y -CONFIG_MTDIDS_DEFAULT="nor0=spi3.0" -CONFIG_MTDPARTS_DEFAULT="spi3.0:64k(SPL),448k(uboot),128k(envs),384k(unused1),4096k(kernel),8192k(swupdate),-(unused2)" CONFIG_DOS_PARTITION=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y @@ -84,6 +82,7 @@ CONFIG_MXS_GPIO=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_MMC_MXS=y CONFIG_MTD=y +CONFIG_DM_MTD=y CONFIG_DM_SPI_FLASH=y CONFIG_SF_DEFAULT_BUS=3 CONFIG_SF_DEFAULT_SPEED=40000000 @@ -92,6 +91,7 @@ CONFIG_SPI_FLASH_ISSI=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_STMICRO=y # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set +CONFIG_SPI_FLASH_MTD=y CONFIG_PHYLIB=y CONFIG_PHY_ADDR_ENABLE=y CONFIG_PHY_ADDR=1 |