diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/engicam/common/spl.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c index 29a27ce80f7..6964c131d90 100644 --- a/board/engicam/common/spl.c +++ b/board/engicam/common/spl.c @@ -39,6 +39,17 @@ static iomux_v3_cfg_t const uart_pads[] = { #endif }; +#ifdef CONFIG_SPL_OS_BOOT +int spl_start_uboot(void) +{ + /* break into full u-boot on 'c' */ + if (serial_tstc() && serial_getc() == 'c') + return 1; + + return 0; +} +#endif + #ifdef CONFIG_MX6QDL /* * Driving strength: |