]> git.dujemihanovic.xyz Git - u-boot.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)
commitc4c3fa98ac032ed2bbf0a1cd2443d8645c4dc2af
tree2b060434a27e374132f49f8e9159bee74b01fe3b
parent6e3cef06da0b8be032494239c997c8a5d2bbe065
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