image: Add Trusted Execution Environment image type
authorAndrew F. Davis <afd@ti.com>
Tue, 29 Nov 2016 22:33:21 +0000 (16:33 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 18:21:20 +0000 (13:21 -0500)
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>
common/image.c
include/image.h

index 2aac90d81826d4fbb0f56bf6b36667f87efbb8a4..bd07e86701a4171c2a2c7a428d3a5dbe632782d5 100644 (file)
@@ -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,                 "",           "",                   },
 };
 
index b96b8ebfe81daadee3a5eee1e937b9034bcf510c..575f5927f7e8f2053e45216f78fe8e72fd0d5ca5 100644 (file)
@@ -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 */
 };