diff options
author | Vikas Manocha <vikas.manocha@st.com> | 2017-05-28 22:55:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-09 18:24:00 +0300 |
commit | 55a3ef714f9867a9b2e18851cfdca906698e8c2f (patch) | |
tree | 9af04b49e166ac5c7a3a4f95f438072edbb2de09 /board/st/stm32f746-disco | |
parent | 6c0c3ce8aa794e972ef173694e148ddc9b7d6bcb (diff) | |
download | u-boot-55a3ef714f9867a9b2e18851cfdca906698e8c2f.tar.xz |
spl: stm32f7: add kernel boot support
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Diffstat (limited to 'board/st/stm32f746-disco')
-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 87fa5eb48e..2bb0f02c96 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; |