]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: spi: Consolidate spi_load_image_os into spl_spi_load_image
authorSean Anderson <seanga2@gmail.com>
Wed, 8 Nov 2023 16:48:57 +0000 (11:48 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 18:49:14 +0000 (13:49 -0500)
commit14509a28aa20808875cc934eaf62f439345e6db6
tree63f47169e9f183be2336704f64bee68cf5f9f04c
parenta04d5f60a581ad5feac309ef014e47d41ccc8d48
spl: spi: Consolidate spi_load_image_os into spl_spi_load_image

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_spi.c