summaryrefslogtreecommitdiff
path: root/board/engicam
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2017-08-28 16:45:48 +0530
committerStefano Babic <sbabic@denx.de>2017-08-30 12:18:41 +0200
commit63af4b0ad0666e0797306593813b6272e1995bde (patch)
treee7902d66211862b00b34e3963b20beae6775254b /board/engicam
parent46668df5d0a94c6f546bcd31bd56c0ded7b4193f (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')
-rw-r--r--board/engicam/common/spl.c11
1 files changed, 11 insertions, 0 deletions
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: