diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-08-31 16:00:56 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-09-29 11:50:07 +0200 |
commit | 31c5614af406bdb686c305d707eee2a0898d864e (patch) | |
tree | 779f2000898ffa6339a026ca592a40b3948e6fa3 /drivers/mmc/sunxi_mmc.c | |
parent | f3b589c09b43a231706f11ab391e5ea7f9670f12 (diff) | |
download | u-boot-imx-31c5614af406bdb686c305d707eee2a0898d864e.zip u-boot-imx-31c5614af406bdb686c305d707eee2a0898d864e.tar.gz u-boot-imx-31c5614af406bdb686c305d707eee2a0898d864e.tar.bz2 |
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>
Diffstat (limited to 'drivers/mmc/sunxi_mmc.c')
0 files changed, 0 insertions, 0 deletions