]> git.sur5r.net Git - u-boot/commitdiff
arm: omap-common: add secure ROM signature verify index for AM33xx
authorAndrew F. Davis <afd@ti.com>
Wed, 11 Jan 2017 16:19:52 +0000 (10:19 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 14 Jan 2017 21:46:24 +0000 (16:46 -0500)
On AM33xx devices the secure ROM uses a different call index for
signature verification, the function and arguments are the same.

Signed-off-by: Andrew F. Davis <afd@ti.com>
arch/arm/mach-omap2/sec-common.c

index 246a2393dab6d4791f9ee2976f26cb2fa2203196..c5a000ac3a56c046702cf9f33d0603c5b3292749 100644 (file)
 #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);