diff options
author | Andrew F. Davis <afd@ti.com> | 2017-01-11 10:19:52 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-14 16:46:24 -0500 |
commit | 4ac19bae2d1914b1612c720c71442f77aff331de (patch) | |
tree | 90a7bf28ffadf4fb6a771547d9d310732b10559e /arch/arm | |
parent | 2170652d9861a3ab0eac11d44a948062ee493ede (diff) | |
download | u-boot-imx-4ac19bae2d1914b1612c720c71442f77aff331de.zip u-boot-imx-4ac19bae2d1914b1612c720c71442f77aff331de.tar.gz u-boot-imx-4ac19bae2d1914b1612c720c71442f77aff331de.tar.bz2 |
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.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/sec-common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/sec-common.c b/arch/arm/mach-omap2/sec-common.c index 246a239..c5a000a 100644 --- a/arch/arm/mach-omap2/sec-common.c +++ b/arch/arm/mach-omap2/sec-common.c @@ -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); |