On 09/29/2017 01:02 AM, Łukasz Majewski wrote: > Hi York, > >> Add jump_to_image_linux() for arm64. Add "noreturn" flag to >> armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon >> boot. >> >> Signed-off-by: York Sun <york....@nxp.com> >> Reviewed-by: Simon Glass <s...@chromium.org> >> >> --- >> >> Changes in v3: >> Fix typo in subject and other cosmetic fix. >> >> Changes in v2: >> Relace getenv_f() with env_get_f() after rebasing to latet master. >> >> .../arm/cpu/armv8/fsl-layerscape/doc/README.falcon | 140 >> +++++++++++++++++++++ >> arch/arm/cpu/armv8/fsl-layerscape/spl.c | 29 +++++ >> arch/arm/include/asm/system.h | 4 +- >> arch/arm/lib/spl.c | 11 ++ >> 4 files changed, 182 insertions(+), 2 deletions(-) >> create mode 100644 arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon >> >> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon >> b/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon >> new file mode 100644 >> index 0000000..282b19f >> --- /dev/null >> +++ b/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon >> @@ -0,0 +1,140 @@ >> +Falcon boot option >> +------------------ >> +Falcon boot is a short cut boot method for SD/eMMC targets. It skips >> loading the >> +RAM version U-Boot. Instead, it loads FIT image and boot directly to Linux. >> +CONFIG_SPL_OS_BOOT enables falcon boot. CONFIG_SPL_LOAD_FIT enables the FIT >> +image support (also need CONFIG_SPL_OF_LIBFDT, CONFIG_SPL_FIT and optionally >> +CONFIG_SPL_GZIP). >> + >> +To enable falcon boot, a hook function spl_start_uboot() returns 0 to >> indicate >> +booting U-Boot is not the first choice. The kernel FIT image needs to be put >> +at CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR. SPL mmc driver reads the header >> to >> +determine if this is a FIT image. If true, FIT image components are parsed >> and >> +copied or decompressed (if applicable) to their desitinations. If FIT image >> is > ^^^^^ - destinations
Thanks for catching them. I will fix them with another spin, or when applying it. I need to setup the spelling check. York _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot