On Fri, May 10, 2024 at 7:13 AM Andre Przywara <andre.przyw...@arm.com> wrote: > > The BootROM in the Allwinner H616 tries to load the initial boot code > from sector 16 (8KB) of an SD card or eMMC device, but also looks at > sector 512 (256KB). This helps with GPT formatted cards. > A "high" boot offset is also used on previous SoCs, but it's sector 256 > (128KB) there instead. > > Extend the existing offset calculation code to consider the different > sector offset when running on an H616 SoC. This allows to load U-Boot > on any H616 device when the SPL is not located at 8KB. > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com>
Make sense. Reviewed-by: Chen-Yu Tsai <w...@csie.org>