summaryrefslogtreecommitdiff
path: root/board/technexion/pico-imx7d/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/technexion/pico-imx7d/spl.c')
-rw-r--r--board/technexion/pico-imx7d/spl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/technexion/pico-imx7d/spl.c b/board/technexion/pico-imx7d/spl.c
index c55a35d864..8955622b81 100644
--- a/board/technexion/pico-imx7d/spl.c
+++ b/board/technexion/pico-imx7d/spl.c
@@ -21,6 +21,10 @@
#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