]> git.sur5r.net Git - u-boot/commit
spl: Convert spl_ubi_load_image() to use linker list
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:01 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:06:56 +0000 (15:06 -0400)
commit7d7dd821b0921d762a1dbfae48f2c3aa3ff29df6
tree6b5aa20f42ca9461ce70eabb72c66e8a5b705ada
parent0fed9c7ed69c7f85f0f76fd58c1ef6ea991a786c
spl: Convert spl_ubi_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_ubi.c
include/spl.h