commit | 784fcf6788b978bc54c7706c921a34c4094876d3 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Fri Mar 18 00:00:44 2022 -0500 |
committer | Andre Przywara <andre.przywara@arm.com> | Mon Apr 04 23:24:17 2022 +0100 |
tree | e6dc6acfaa3e0c576600127313a3962df5328cce | |
parent | 757287816fd6155cf4bcfb97ae5bb64acd3ad891 [diff] |
sunxi: Support SPL in both eGON and TOC0 images SPL uses the image header to detect the boot device and to find the offset of the next U-Boot stage. Since this information is stored differently in the eGON and TOC0 image headers, add code to find the correct value based on the image type currently in use. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>