Hans de Goede 31c5614af4 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>
2015-09-29 11:50:07 +02:00
..
2015-08-25 22:53:57 -05:00
2013-05-31 17:12:03 -05:00
2015-08-25 22:53:57 -05:00
2015-08-25 22:53:57 -05:00
2015-08-25 22:53:57 -05:00
2015-08-25 22:53:57 -05:00
2015-08-25 22:53:57 -05:00
2015-08-25 22:53:57 -05:00
2015-08-25 22:53:57 -05:00
2015-08-25 22:53:57 -05:00
2015-08-25 22:53:57 -05:00