Skip to contentSkip to conversation

arm: omap-common: add secure ROM signature verify index for AM33xx

PATCH In review Andrew F. Davis 2 participants 2 messages Jan 11, 2017 – Jan 15, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: omap-common: add secure ROM signature verify index for AM33xx

On AM33xx devices the secure ROM uses a different call index for signature verification, the function and arguments are the same.

---
 arch/arm/mach-omap2/sec-common.c | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/mach-omap2/sec-common.c +4 -0
index 246a2393da..c5a000ac3a 100644
@@ -21,7 +21,11 @@
 #include <spl.h>
 
 /* Index for signature verify ROM API */
+#ifdef CONFIG_AM33XX
+#define API_HAL_KM_VERIFYCERTIFICATESIGNATURE_INDEX	(0x0000000C)
+#else
 #define API_HAL_KM_VERIFYCERTIFICATESIGNATURE_INDEX	(0x0000000E)
+#endif
 
 static uint32_t secure_rom_call_args[5] __aligned(ARCH_DMA_MINALIGN);
 
Signature · 1 line
2.11.0
#1 lore raw
Quoted 4 lines · Andrew F. Davis

On AM33xx devices the secure ROM uses a different call index for signature verification, the function and arguments are the same.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170115/69aed4d5/attachment.sig>