diff options
author | Vikas Manocha | 2017-05-28 12:55:13 -0700 |
---|---|---|
committer | Tom Rini | 2017-06-09 11:24:00 -0400 |
commit | 55a3ef714f9867a9b2e18851cfdca906698e8c2f (patch) | |
tree | 9af04b49e166ac5c7a3a4f95f438072edbb2de09 /board | |
parent | 6c0c3ce8aa794e972ef173694e148ddc9b7d6bcb (diff) |
spl: stm32f7: add kernel boot support
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/st/stm32f746-disco/stm32f746-disco.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index 87fa5eb48e2..2bb0f02c968 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -91,6 +91,15 @@ int board_early_init_f(void) #endif #ifdef CONFIG_SPL_BUILD +#ifdef CONFIG_SPL_OS_BOOT +int spl_start_uboot(void) +{ + debug("SPL: booting kernel\n"); + /* break into full u-boot on 'c' */ + return serial_tstc() && serial_getc() == 'c'; +} +#endif + int spl_dram_init(void) { struct udevice *dev; |