]> git.sur5r.net Git - u-boot/commit
spl: Move the loading code into its own function
authorSimon Glass <sjg@chromium.org>
Wed, 30 Nov 2016 22:30:51 +0000 (15:30 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 9 Dec 2016 13:40:14 +0000 (08:40 -0500)
commit540bfe7daaadafd83fadb5b0e2e8b6e7af017768
tree1e12473082fda7d917bd504153435d90293a9e81
parentebc4ef61d76fc182773fe225151adc9b913c62eb
spl: Move the loading code into its own function

Create a boot_from_devices() function to handle trying each device. This
helps to reduce the size of the already-large board_init_r() function.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c