summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-24 18:19:51 -0600
committerTom Rini <trini@konsulko.com>2016-10-06 14:48:14 -0400
commite50d76cc3c2894267a4b36a675abb957d6e3df8c (patch)
tree0a8b2b723dc45d1bf54e9bbaf8cceba11e31435f /arch/sandbox
parentab895d6af224a427db4ffb70884588a2449be1c6 (diff)
downloadu-boot-e50d76cc3c2894267a4b36a675abb957d6e3df8c.tar.gz
u-boot-e50d76cc3c2894267a4b36a675abb957d6e3df8c.tar.bz2
u-boot-e50d76cc3c2894267a4b36a675abb957d6e3df8c.zip
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>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/include/asm/spl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sandbox/include/asm/spl.h b/arch/sandbox/include/asm/spl.h
index 59f2401170..eb3cb56916 100644
--- a/arch/sandbox/include/asm/spl.h
+++ b/arch/sandbox/include/asm/spl.h
@@ -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,
};