summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach-imx
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-08-07 11:00:39 +0300
committerStefano Babic <sbabic@denx.de>2021-08-09 15:46:50 +0300
commit6f3858d732985f13c764ec29c1668d9f06941b6c (patch)
tree9ffb74f4d6f2ad98ebd6d94a1d6cd671eafbd9bf /arch/arm/include/asm/mach-imx
parent20ed81eaebeca29724a05466496eda8f49bc9a0d (diff)
downloadu-boot-6f3858d732985f13c764ec29c1668d9f06941b6c.tar.xz
arm: imx8ulp: add container support
i.MX8ULP support using ROM API to load container image, it use same ROM API as i.MX8MN/MP, and use same container format as i.MX8QM/QXP. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/mach-imx')
-rw-r--r--arch/arm/include/asm/mach-imx/image.h2
-rw-r--r--arch/arm/include/asm/mach-imx/sys_proto.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach-imx/image.h b/arch/arm/include/asm/mach-imx/image.h
index 547beeb986..ee67ca96f4 100644
--- a/arch/arm/include/asm/mach-imx/image.h
+++ b/arch/arm/include/asm/mach-imx/image.h
@@ -64,4 +64,6 @@ struct generate_key_blob_hdr {
u8 algorithm;
u8 mode;
} __packed;
+
+int get_container_size(ulong addr, u16 *header_length);
#endif
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index e3ee58c9f8..444834995e 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -145,7 +145,7 @@ struct rproc_att {
u32 size; /* size of reg range */
};
-#ifdef CONFIG_IMX8M
+#if defined(CONFIG_IMX8M) || defined(CONFIG_IMX8ULP)
struct rom_api {
u16 ver;
u16 tag;