diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-09-13 16:57:05 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-09-14 15:22:52 +0200 |
commit | 9ddd1cd596b5d825a53265c267d9322f2af0f4d1 (patch) | |
tree | 0db406ad186af253781b5b9e0904b1db6caee238 /board/technexion | |
parent | 1b5f4dc9e618763b0729bdb9a91aaeecf9499eeb (diff) |
pico-imx6ul: Add Falcon mode support
Falcon mode boots the kernel directly from SPL, without loading
the full U-Boot.
As pico-imx6ul 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: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board/technexion')
-rw-r--r-- | board/technexion/pico-imx6ul/spl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/technexion/pico-imx6ul/spl.c b/board/technexion/pico-imx6ul/spl.c index 1819722024..6464a32d3b 100644 --- a/board/technexion/pico-imx6ul/spl.c +++ b/board/technexion/pico-imx6ul/spl.c @@ -14,6 +14,14 @@ #include <spl.h> #if defined(CONFIG_SPL_BUILD) + +#ifdef CONFIG_SPL_OS_BOOT +int spl_start_uboot(void) +{ + return 0; +} +#endif + #include <asm/arch/mx6-ddr.h> static struct mx6ul_iomux_grp_regs mx6_grp_ioregs = { |