]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Convert spl_spi_load_image() to use linker list
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:09 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:07:34 +0000 (15:07 -0400)
commit139db7af4eff4eabdcc104c5c5687ab9fe64ca9a
treee3401e6b2908aac0571b9c2f2408cbfbdd8c51a6
parent0a9b73a13e3440994d4b245ffdc86c51361a296d
spl: Convert spl_spi_load_image() to use linker list

Add a linker list declaration for this method and remove the explicit
switch() code. Also set up the sunxi function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c
common/spl/spl_spi.c
drivers/mtd/spi/sunxi_spi_spl.c
include/spl.h