commit | 31c5614af406bdb686c305d707eee2a0898d864e | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Mon Aug 31 16:00:56 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Sep 29 11:50:07 2015 +0200 |
tree | 779f2000898ffa6339a026ca592a40b3948e6fa3 | |
parent | f3b589c09b43a231706f11ab391e5ea7f9670f12 [diff] |
sunxi_nand_spl: Be smarter about where to look for backup u-boot.bin We know when u-boot is written to its own partition, in this case the layout always is: eb 0 spl eb 1 spl-backup eb 2 u-boot eb 3 u-boot-backup eb: erase-block So if we cannot load u-boot from its primary offset we know exactly where to look for it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>