[PATCH 2/2] sunxi: binman: Fix U-Boot offset when SPL is not 32 KiB

2023-01-21 Thread Samuel Holland
On sunxi boards, SPL looks for U-Boot at a 32 KiB offset, unless SPL is larger than 32 KiB, in which case U-Boot immediately follows SPL. See the logic in spl_mmc_get_uboot_raw_sector() and spl_spi_load_image(). In two cases, the existing binman description mismatches the SPL code. For 64-bit boar

Re: [PATCH 2/2] sunxi: binman: Fix U-Boot offset when SPL is not 32 KiB

2023-04-14 Thread Andre Przywara
On Sat, 21 Jan 2023 17:25:17 -0600 Samuel Holland wrote: Hi Samuel, > On sunxi boards, SPL looks for U-Boot at a 32 KiB offset, unless SPL is > larger than 32 KiB, in which case U-Boot immediately follows SPL. See > the logic in spl_mmc_get_uboot_raw_sector() and spl_spi_load_image(). > > In tw

Re: [PATCH 2/2] sunxi: binman: Fix U-Boot offset when SPL is not 32 KiB

2023-01-23 Thread Simon Glass
On Sat, 21 Jan 2023 at 16:25, Samuel Holland wrote: > > On sunxi boards, SPL looks for U-Boot at a 32 KiB offset, unless SPL is > larger than 32 KiB, in which case U-Boot immediately follows SPL. See > the logic in spl_mmc_get_uboot_raw_sector() and spl_spi_load_image(). > > In two cases, the exis