Searched hist:"9719 e14f318a7eab0323cab1bb53f16c2e78216d" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/common/spl/ |
| H A D | spl_fit.c | 9719e14f318a7eab0323cab1bb53f16c2e78216d Wed Sep 13 19:29:32 UTC 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> UPSTREAM: spl: fit: simplify logic for FDT loading for non-OS boots
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.
Change-Id: Ic7c4b927b4ad7d33e372e63002072fe27a88292f Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: York Sun <york.sun@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit d879616e9e64cf5a9c43dedc30677aa2fa463d64)
|