]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Convert spl_mmc_load_image() to use linker list
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:00 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:06:56 +0000 (15:06 -0400)
commit0fed9c7ed69c7f85f0f76fd58c1ef6ea991a786c
tree7b6c16f88f44aa6fe4a13ca5fd2d71d60155868b
parent98136b2f26fa4afc8e3a9954cb85038d29b2e4e3
spl: Convert spl_mmc_load_image() to use linker list

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

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