diff options
author | Andrew F. Davis <afd@ti.com> | 2016-11-29 16:33:21 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-03 13:21:20 -0500 |
commit | 7e719ee7d8eb61f459a38f69a825823603879258 (patch) | |
tree | 1d41c69ca7780d29205db617572c4fedc30cf3cd | |
parent | d7be50921ed35e36e000a5e8daba41701a5eebb9 (diff) | |
download | u-boot-7e719ee7d8eb61f459a38f69a825823603879258.tar.gz |
image: Add Trusted Execution Environment image type
Add a new image type representing Trusted Execution Environment (TEE)
image types. For example, an OP-TEE OS binary image.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/image.c | 1 | ||||
-rw-r--r-- | include/image.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c index 2aac90d8182..bd07e86701a 100644 --- a/common/image.c +++ b/common/image.c @@ -165,6 +165,7 @@ static const table_entry_t uimage_type[] = { { IH_TYPE_ZYNQIMAGE, "zynqimage", "Xilinx Zynq Boot Image" }, { IH_TYPE_ZYNQMPIMAGE, "zynqmpimage", "Xilinx ZynqMP Boot Image" }, { IH_TYPE_FPGA, "fpga", "FPGA Image" }, + { IH_TYPE_TEE, "tee", "Trusted Execution Environment Image",}, { -1, "", "", }, }; diff --git a/include/image.h b/include/image.h index b96b8ebfe81..575f5927f7e 100644 --- a/include/image.h +++ b/include/image.h @@ -279,6 +279,7 @@ enum { IH_TYPE_ZYNQMPIMAGE, /* Xilinx ZynqMP Boot Image */ IH_TYPE_FPGA, /* FPGA Image */ IH_TYPE_VYBRIDIMAGE, /* VYBRID .vyb Image */ + IH_TYPE_TEE, /* Trusted Execution Environment OS Image */ IH_TYPE_COUNT, /* Number of image types */ }; |