commit | eb715f68d2879be18f878110f67d2fff87013ec9 | [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 | 8fd443c324cd69e8be969044a2df38cc1b5a01af [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>