mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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>
This commit is contained in:
parent
2debd004fe
commit
7b90229eba
@ -60,7 +60,7 @@
|
|||||||
"fdtfile=imx6q-dhcom-pdk2.dtb\0"\
|
"fdtfile=imx6q-dhcom-pdk2.dtb\0"\
|
||||||
"update_sf=" /* Erase SPI NOR and install U-Boot from SD */ \
|
"update_sf=" /* Erase SPI NOR and install U-Boot from SD */ \
|
||||||
"load mmc 0:1 ${loadaddr} /boot/u-boot-with-spl.imx && "\
|
"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" \
|
"sf write ${loadaddr} 0x400 ${filesize}\0" \
|
||||||
BOOTENV
|
BOOTENV
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user