]> git.sur5r.net Git - u-boot/commit
i.MX6: nitrogen6x: fix erase size in 6x_upgrade.txt
authorEric Nelson <eric.nelson@boundarydevices.com>
Wed, 9 Oct 2013 19:25:15 +0000 (12:25 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 31 Oct 2013 16:56:57 +0000 (17:56 +0100)
commit8f8b8949e57b7c833966c108256f6bef7f636135
tree7c8166bc3cdc482bac7b04755e4c6fe1048283db
parent465ac5891c0302d33a59700711f3f0f1e81392fa
i.MX6: nitrogen6x: fix erase size in 6x_upgrade.txt

The 6x_upgrade script is used to upgrade U-Boot in SPI-NOR
on Nitrogen6x/SABRE Lite boards using U-Boot's 'sf' command.

U-Boot is placed at offset 0x400 in flash, and the script
currently only erases 0x50000 bytes. Since the current
head is 319k, any additional features enabled in the
configuration will exceed the space erased and cause errors
re-programming the device.

This patch increases the erase size to the full size of
the region allocated for the U-Boot binary.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Stefano Babic <sbabic@denx.de>
board/boundary/nitrogen6x/6x_upgrade.txt