aboutsummaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorSimon Glass2016-09-24 18:20:12 -0600
committerTom Rini2016-10-06 15:08:50 -0400
commit97d9df0a91f1c68695913518d8dfaf26c41dbb32 (patch)
tree78671e0558f13a3c3716950fdd2ee0552d43b68e /include/spl.h
parent7ec0389354b8fd27ed1d1fb2d4f451e74f40534c (diff)
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 d6b2c9079f6..895240d28e0 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