]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx6: dh-imx6: Use sf update instead of sf erase and write
authorMarek Vasut <marex@denx.de>
Wed, 28 Sep 2022 16:45:18 +0000 (18:45 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 21 Oct 2022 09:54:13 +0000 (11:54 +0200)
commitad75957295ce1c6120ec23998a5c40916f7386b6
tree26dd4a9b1c3fdd1c5a6a2a4b9c030eef8f3e2e4a
parent4f921884f162d08f61a01969eecf23aaf8648467
ARM: imx6: dh-imx6: Use sf update instead of sf erase and write

With sf update fixed to support unaligned start offset, use plain
sf update to update the bootloader in SPI NOR. This also helps
avoid the case where not enough SPI NOR has been erased and the
bootloader has been written to unerased area, and thus corrupted.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
include/configs/dh_imx6.h