]> git.baikalelectronics.ru Git - uboot.git/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)
commitc1d9200c16421de0bc9fe62f24ebbe7b6c281f69
tree1e12473082fda7d917bd504153435d90293a9e81
parent7e87ff751911e1f7e8e187645abe3565cada0443
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