diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-07-15 14:19:23 -0500 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-07-27 09:47:40 +0200 |
commit | 5f6e5c37c67381b9790f55a34640415939a479a5 (patch) | |
tree | fda0c1ba171870953cf7d973450350aa2f4758d3 /include/spl.h | |
parent | 59000ebe0b121619116c5081e0af7a8a41c2fcfe (diff) | |
download | u-boot-5f6e5c37c67381b9790f55a34640415939a479a5.tar.gz u-boot-5f6e5c37c67381b9790f55a34640415939a479a5.tar.bz2 u-boot-5f6e5c37c67381b9790f55a34640415939a479a5.zip |
spl: mmc: Support OP-TEE payloads in Falcon mode
In general, Falcon mode means we're booting a linux kernel directly.
With FIT images, however, an OP-TEE secure kernel can be booted before
linux. Thus, if the next stage is an IH_OS_TEE, this isn't necessarily
a problem.
Of course, a general solution would involve mmc_load_image_raw_os()
only loading the binary, and leaving the decision of suitability to
someone else. However, a rework of the boot flow is beyond the scope
of this patch. Accept IH_OS_TEE as a valid OS value.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'include/spl.h')
0 files changed, 0 insertions, 0 deletions