summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/spl.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/spl.h')
-rw-r--r--arch/arm/include/asm/spl.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h
index 6db405d7d9..5c5d33f0bd 100644
--- a/arch/arm/include/asm/spl.h
+++ b/arch/arm/include/asm/spl.h
@@ -31,8 +31,14 @@ enum {
};
#endif
-/* Board-specific load method */
-void spl_board_load_image(void);
+/**
+ * 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);
/* Linker symbols. */
extern char __bss_start[], __bss_end[];
OpenPOWER on IntegriCloud