diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-06-29 21:19:14 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-07-23 11:59:48 +0300 |
commit | 78d30a1bc039bc4c0a63cca4c03238adb5cf02bb (patch) | |
tree | d88db7803f1c809bb98e565bb3e7ccf37b516572 /board/technexion | |
parent | 22dda6bd8b2b495a71d3776cf0b4379fe14fd8bc (diff) | |
download | u-boot-78d30a1bc039bc4c0a63cca4c03238adb5cf02bb.tar.xz |
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/technexion')
-rw-r--r-- | board/technexion/pico-imx7d/spl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/technexion/pico-imx7d/spl.c b/board/technexion/pico-imx7d/spl.c index 14d96cb0c5..a5463ee68b 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, |