summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-05-10 07:54:20 +0200
committerMichal Simek <michal.simek@xilinx.com>2016-05-24 11:15:01 +0200
commit3a3b9147892cb47f96dff1075f1494dca17b6eaf (patch)
tree0aacf93ca28baaea05e215c2a579e03c03695044 /include
parentbd483780d3925d62dc896cc9bf1351b8a8c01ed8 (diff)
spl: Introduce new function spl_board_prepare_for_boot
Call this function before passing control from SPL. For fpga case it is necessary to enable for example level shifters when bitstream is programmed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/spl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 7edfab46dcd..335b76a1b15 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -58,6 +58,7 @@ u32 spl_boot_mode(void);
void spl_set_header_raw_uboot(void);
int spl_parse_image_header(const struct image_header *header);
void spl_board_prepare_for_linux(void);
+void spl_board_prepare_for_boot(void);
void __noreturn jump_to_image_linux(void *arg);
int spl_start_uboot(void);
void spl_display_print(void);