]> git.dujemihanovic.xyz Git - u-boot.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)
commit39236acb0d97074618f4110f01ab20cfc246cec0
tree26dd4a9b1c3fdd1c5a6a2a4b9c030eef8f3e2e4a
parent07e02b81cfc6cb9d20807581766eebf31f9092ad
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