[PATCH v6 24/25] spl: spi: Consolidate spi_load_image_os into spl_spi_load_image

Simon Glass sjg at chromium.org
Wed Nov 8 05:24:12 CET 2023


On Sun, 5 Nov 2023 at 19:26, Sean Anderson <seanga2 at gmail.com> wrote:
>
> spi_load_image_os performs almost the same steps as the non-falcon-boot
> path of spl_spi_load_image. The load address is different, and it also
> loads a device tree, but that's it. Refactor the boot process so that
> they can both use the same load function.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
> (no changes since v5)
>
> Changes in v5:
> - Rework to load header in spl_load
>
> Changes in v2:
> - New
>
>  common/spl/spl_spi.c | 54 ++++++++++++--------------------------------
>  1 file changed, 14 insertions(+), 40 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list