diff options
author | Jagan Teki | 2017-08-28 16:45:48 +0530 |
---|---|---|
committer | Stefano Babic | 2017-08-30 12:18:41 +0200 |
commit | 63af4b0ad0666e0797306593813b6272e1995bde (patch) | |
tree | e7902d66211862b00b34e3963b20beae6775254b /board/engicam/common/spl.c | |
parent | 46668df5d0a94c6f546bcd31bd56c0ded7b4193f (diff) |
i.MX6Q: icorem6: Add falcon mode
Add Falcon mode support in Engicam i.CoreM6 board.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'board/engicam/common/spl.c')
-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: |