]> git.ipfire.org Git - people/ms/u-boot.git/commit
spl: Convert spl_board_load_image() to use linker list
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:12 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:08:50 +0000 (15:08 -0400)
commit97d9df0a91f1c68695913518d8dfaf26c41dbb32
tree78671e0558f13a3c3716950fdd2ee0552d43b68e
parent7ec0389354b8fd27ed1d1fb2d4f451e74f40534c
spl: Convert spl_board_load_image() to use linker list

Add a linker list declaration for this method and remove the explicit
switch() code. Update existing users.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-sunxi/board.c
arch/arm/mach-uniphier/boot-mode/spl_board.c
arch/sandbox/cpu/spl.c
common/spl/spl.c
include/spl.h