mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
0ec88323da
The more recent Allwinner SoCs BootROMs can actually load SPL images larger than 32KB. We use this on the H616 to fit the extra code needed for the PMIC into the image, and have provisions in board.c to respect that larger SPL size when booting from MMC. However the sunxi SPL SPI loader has a hardcoded load offset of 32KB, which will fail on the H616. To fix this, use the same algorithm we use for MMC: if the SPL size is smaller than 32KB, we use 32KB, otherwise we expect the U-Boot payload directly after the SPL code. This prepares for SPI booting with larger SPLs like on the H616. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> |
||
---|---|---|
.. | ||
dram_timings | ||
board.c | ||
clock.c | ||
clock_sun4i.c | ||
clock_sun6i.c | ||
clock_sun8i_a83t.c | ||
clock_sun9i.c | ||
clock_sun50i_h6.c | ||
cpu_info.c | ||
dram_helpers.c | ||
dram_sun4i.c | ||
dram_sun6i.c | ||
dram_sun8i_a23.c | ||
dram_sun8i_a33.c | ||
dram_sun8i_a83t.c | ||
dram_sun9i.c | ||
dram_sun50i_h6.c | ||
dram_sun50i_h616.c | ||
dram_sunxi_dw.c | ||
gtbus_sun9i.c | ||
Kconfig | ||
Makefile | ||
pinmux.c | ||
pmic_bus.c | ||
prcm.c | ||
rmr_switch.S | ||
spl_spi_sunxi.c |