diff options
author | Marek Vasut <marex@denx.de> | 2022-08-12 22:59:10 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-09-18 22:56:10 +0200 |
commit | 7b90229ebadea2455cb39f40d07e00393015fe78 (patch) | |
tree | 41874df1adfe50461cd6d071916079feed09c510 | |
parent | 2debd004fe3cb5dfb14319f068d5a69e23a8d53d (diff) | |
download | u-boot-7b90229ebadea2455cb39f40d07e00393015fe78.zip u-boot-7b90229ebadea2455cb39f40d07e00393015fe78.tar.gz u-boot-7b90229ebadea2455cb39f40d07e00393015fe78.tar.bz2 |
ARM: imx: dh-imx6: Increase SF erase area for u-boot update
Erase the entire U-Boot area during U-Boot update instead of just
a subset of it. This way, in case u-boot-with-spl.imx grows, the
sf write won't write over non-erased part of the SPI NOR.
Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | include/configs/dh_imx6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 7942464..0f7e1c5 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -60,7 +60,7 @@ "fdtfile=imx6q-dhcom-pdk2.dtb\0"\ "update_sf=" /* Erase SPI NOR and install U-Boot from SD */ \ "load mmc 0:1 ${loadaddr} /boot/u-boot-with-spl.imx && "\ - "sf probe && sf erase 0x0 0xa0000 && " \ + "sf probe && sf erase 0x0 0x100000 && " \ "sf write ${loadaddr} 0x400 ${filesize}\0" \ BOOTENV |