From 97d9df0a91f1c68695913518d8dfaf26c41dbb32 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 24 Sep 2016 18:20:12 -0600 Subject: 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 Reviewed-by: Tom Rini --- include/spl.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') 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 -- cgit v1.1