From 63af4b0ad0666e0797306593813b6272e1995bde Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Mon, 28 Aug 2017 16:45:48 +0530 Subject: i.MX6Q: icorem6: Add falcon mode Add Falcon mode support in Engicam i.CoreM6 board. Signed-off-by: Jagan Teki --- board/engicam/common/spl.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'board/engicam') diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c index 29a27ce80f..6964c131d9 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: -- cgit