summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-08-02 15:07:19 +0200
committerPatrice Chotard <patrice.chotard@st.com>2019-08-27 11:19:23 +0200
commite7fabe75aec1380f7e2bd440a8477f0f15db528b (patch)
tree023a707e5e473c8e23ac6c154d666709ed425553
parent5d2901a4b653a5ee47b1a789054414f4e7b8cb85 (diff)
downloadu-boot-e7fabe75aec1380f7e2bd440a8477f0f15db528b.tar.gz
image: add new "copro" image type
Define new image type for coprocessor images. It is used in FIT to identify the files loaded with remoteproc command (elf or bin). Signed-off-by: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--common/image.c1
-rw-r--r--include/image.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index 645584b5ba..179eef0bd2 100644
--- a/common/image.c
+++ b/common/image.c
@@ -176,6 +176,7 @@ static const table_entry_t uimage_type[] = {
{ IH_TYPE_PMMC, "pmmc", "TI Power Management Micro-Controller Firmware",},
{ IH_TYPE_STM32IMAGE, "stm32image", "STMicroelectronics STM32 Image" },
{ IH_TYPE_MTKIMAGE, "mtk_image", "MediaTek BootROM loadable Image" },
+ { IH_TYPE_COPRO, "copro", "Coprocessor Image"},
{ -1, "", "", },
};
diff --git a/include/image.h b/include/image.h
index 404b7338e6..c1065c06f9 100644
--- a/include/image.h
+++ b/include/image.h
@@ -284,6 +284,7 @@ enum {
IH_TYPE_MTKIMAGE, /* MediaTek BootROM loadable Image */
IH_TYPE_IMX8MIMAGE, /* Freescale IMX8MBoot Image */
IH_TYPE_IMX8IMAGE, /* Freescale IMX8Boot Image */
+ IH_TYPE_COPRO, /* Coprocessor Image for remoteproc*/
IH_TYPE_COUNT, /* Number of image types */
};