]> git.baikalelectronics.ru Git - uboot.git/commit
xea: defconfig: Update defconfig to support mtd partitions r/w by name
authorLukasz Majewski <lukma@denx.de>
Mon, 27 Dec 2021 10:46:39 +0000 (11:46 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 19 Feb 2022 13:46:54 +0000 (14:46 +0100)
commitc0ceea33f158435f80ac2b8e19e8563142cbd2f5
tree2b060434a27e374132f49f8e9159bee74b01fe3b
parentf1e00f0d17742c29aa8d4591e50cef62d098b758
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>
configs/imx28_xea_defconfig