]> git.sur5r.net Git - u-boot/commit
spl: Convert spl_ram_load_image() to use linker list
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:19:59 +0000 (18:19 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:06:35 +0000 (15:06 -0400)
commit98136b2f26fa4afc8e3a9954cb85038d29b2e4e3
tree0f2b3b35f1c8f8d1e8badd598938226764f335d7
parenta0a8029058e11b8eda1a3d61fdf497bc687b30f8
spl: Convert spl_ram_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>
[trini: Include updating the DFU case]
Signed-off-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c