spl: Introduce new function spl_board_prepare_for_boot
authorMichal Simek <michal.simek@xilinx.com>
Tue, 10 May 2016 05:54:20 +0000 (07:54 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 May 2016 09:15:01 +0000 (11:15 +0200)
commit3a3b9147892cb47f96dff1075f1494dca17b6eaf
tree0aacf93ca28baaea05e215c2a579e03c03695044
parentbd483780d3925d62dc896cc9bf1351b8a8c01ed8
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>
common/spl/spl.c
include/spl.h