summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/common.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-05-30 16:23:41 -0400
committerTom Rini <trini@konsulko.com>2023-05-30 16:23:41 -0400
commitcb4437e530ec1ff3deae85754010344afab8bcc5 (patch)
tree1a21c3f9a0f641516881864d177c030fc9d3ed78 /arch/arm/mach-k3/common.c
parent020520bbc1ff4a542e014f0873c13b4543aea0ea (diff)
parent159f4157b52bd158aaaf3ef764e0171d6f8ec776 (diff)
Merge branch '2023-05-30-TI-fixes-Apple-M2-support'
- Fixes for some TI K3 platforms and merge the Apple M2 support I had intended to pick up earlier.
Diffstat (limited to 'arch/arm/mach-k3/common.c')
-rw-r--r--arch/arm/mach-k3/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index 3c85caee579..34737a43aa0 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -347,8 +347,13 @@ void board_fit_image_post_process(const void *fit, int node, void **p_image,
if ((i != IMAGE_ID_ATF) && (i != IMAGE_ID_OPTEE))
#endif
{
+ ti_secure_image_check_binary(p_image, p_size);
ti_secure_image_post_process(p_image, p_size);
}
+#if IS_ENABLED(CONFIG_SYS_K3_SPL_ATF)
+ else
+ ti_secure_image_check_binary(p_image, p_size);
+#endif
}
#endif