> To better support bootin through an ATF or OPTEE, we need to
> streamline some of the logic for when the FDT is appended to an image:
> depending on the image type, we'd like to append the FDT not at all
> (the case for the OS boot), to the 'firmware' image (if it is a
> U-Boot) or to one of the loadables (if the 'firmware' is an ATF, an
> OPTEE, or some other image-type and U-Boot is listed in the
> loadabled).
> 
> To achieve this goal, we drop the os_boot flag and track the type of
> image loaded.  If it is of type IH_OS_U_BOOT, we append the FDT.
> 
> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Acked-by: York Sun <york....@nxp.com>
> Reviewed-by: Simon Glass <s...@chromium.org>
> ---
> 
>  common/spl/spl_fit.c | 86 
> ++++++++++++++++++++++++++++++++++------------------
>  1 file changed, 56 insertions(+), 30 deletions(-)
> 

Applied to u-boot-rockchip, thanks!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to