summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYe Li <[email protected]>2025-07-08 04:42:55 +0800
committerFabio Estevam <[email protected]>2025-07-17 09:56:33 -0300
commit42337445b55c79d8a820b4eec9536a7844839372 (patch)
tree2b4d3e53b6077fe1d7e5f8ee290fdd614d7ed0f6 /arch
parentcb06e1082a8b29f565034f8a33f91339c768b265 (diff)
spl: imx: Add support for new PQC container
To support PQC container format which is used for post quantum authentication on new i.MX parts like i.MX94 The major changes compared to legacy container format is in signature block, new container tag and version, and new alignment of container header. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Jacky Bai <[email protected]> Signed-off-by: Alice Guo <[email protected]> Acked-by: Peng Fan <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/image-container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/image-container.c b/arch/arm/mach-imx/image-container.c
index f84e23f4b2a..3a9e6dcf225 100644
--- a/arch/arm/mach-imx/image-container.c
+++ b/arch/arm/mach-imx/image-container.c
@@ -66,7 +66,7 @@ static bool is_v2x_fw_container(ulong addr)
struct boot_img_t *img_entry;
phdr = (struct container_hdr *)addr;
- if (phdr->tag != 0x87 || phdr->version != 0x0) {
+ if ((phdr->tag != 0x87 && phdr->tag != 0x82) || phdr->version != 0x0) {
debug("Wrong container header\n");
return false;
}