mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
spl: Move spl_board_load_image() into a generic header
At present this is only used on ARM and sandbox, but it is just as applicable to other architectures. Move the function prototype into the generic SPL header. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@ -8,14 +8,6 @@
|
||||
|
||||
#define CONFIG_SPL_BOARD_LOAD_IMAGE
|
||||
|
||||
/**
|
||||
* 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(void);
|
||||
|
||||
enum {
|
||||
BOOT_DEVICE_BOARD,
|
||||
};
|
||||
|
Reference in New Issue
Block a user