]> git.sur5r.net Git - u-boot/commit
spl: Add a way to declare an SPL image loader
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:19:58 +0000 (18:19 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 18:53:36 +0000 (14:53 -0400)
commita0a8029058e11b8eda1a3d61fdf497bc687b30f8
tree9b661c0f08cbaea1a70780a2290a09a7ed18037a
parentecdfd69a4be55363589e8185ff151b02e6c36cfa
spl: Add a way to declare an SPL image loader

Add a linker list macro which can be used to declare an SPL image loader.
Update spl_load_image() to search available loaders for the correct one.

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