summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2018-06-29 15:19:14 -0300
committerStefano Babic <sbabic@denx.de>2018-07-23 10:59:48 +0200
commit78d30a1bc039bc4c0a63cca4c03238adb5cf02bb (patch)
treed88db7803f1c809bb98e565bb3e7ccf37b516572 /board
parent22dda6bd8b2b495a71d3776cf0b4379fe14fd8bc (diff)
pico-imx7d: Add Falcon mode support
Falcon mode boots the kernel directly from SPL, without loading the full U-Boot. As pico-imx7d does not have a GPIO for selecting Falcon versus normal mode, enter in Falcon mode when the customer selects the CONFIG_SPL_OS_BOOT option in menuconfig. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board')
-rw-r--r--board/technexion/pico-imx7d/spl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/technexion/pico-imx7d/spl.c b/board/technexion/pico-imx7d/spl.c
index 14d96cb0c54..a5463ee68b0 100644
--- a/board/technexion/pico-imx7d/spl.c
+++ b/board/technexion/pico-imx7d/spl.c
@@ -13,6 +13,14 @@
#include <spl.h>
#if defined(CONFIG_SPL_BUILD)
+
+#ifdef CONFIG_SPL_OS_BOOT
+int spl_start_uboot(void)
+{
+ return 0;
+}
+#endif
+
static struct ddrc ddrc_regs_val = {
.mstr = 0x01040001,
.rfshtmg = 0x00400046,