summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-25 00:20:12 (GMT)
committerTom Rini <trini@konsulko.com>2016-10-06 19:08:50 (GMT)
commit97d9df0a91f1c68695913518d8dfaf26c41dbb32 (patch)
tree78671e0558f13a3c3716950fdd2ee0552d43b68e /include/spl.h
parent7ec0389354b8fd27ed1d1fb2d4f451e74f40534c (diff)
downloadu-boot-fsl-qoriq-97d9df0a91f1c68695913518d8dfaf26c41dbb32.tar.xz
spl: Convert spl_board_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code. Update existing users. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/spl.h b/include/spl.h
index d6b2c90..895240d 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -228,12 +228,4 @@ bool spl_was_boot_source(void);
*/
int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr);
-/**
- * Board-specific load method for boards that have a special way of loading
- * U-Boot, which does not fit with the existing SPL code.
- *
- * @return 0 on success, negative errno value on failure.
- */
-int spl_board_load_image(struct spl_boot_device *bootdev);
-
#endif