cryptocell: add product version awareness support
authorGilad Ben-Yossef <gilad.benyossef@arm.com>
Tue, 14 May 2019 11:47:36 +0000 (14:47 +0300)
committerGilad Ben-Yossef <gilad.benyossef@arm.com>
Thu, 25 Jul 2019 10:38:07 +0000 (13:38 +0300)
commit76f3c7dc8b7c78f5f73d1b6487fac5cc5f320ed4
treee769f1b312eb3dfca1735d45d6a86bbb14b2eaff
parent36ec2bb0bcb43b012c1211d73665eebc6012fb48
cryptocell: add product version awareness support

Add support for multiple Cryptocell revisions which
use different APIs.

This commit only refactors the existing code in preperation to the addition
of another Cryptocell revisions later on.

Signed-off-by: Gilad Ben-Yossef <gilad.benyossef@arm.com>
Change-Id: I16d80b31afb6edd56dc645fee5ea619cc74f09b6
31 files changed:
drivers/auth/cryptocell/712/cryptocell_crypto.c [new file with mode: 0644]
drivers/auth/cryptocell/712/cryptocell_plat_helpers.c [new file with mode: 0644]
drivers/auth/cryptocell/cryptocell_crypto.c [deleted file]
drivers/auth/cryptocell/cryptocell_crypto.mk
drivers/auth/cryptocell/cryptocell_plat_helpers.c [deleted file]
include/drivers/arm/cryptocell/712/cc_crypto_boot_defs.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/cc_pal_sb_plat.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/cc_pal_types.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/cc_pal_types_plat.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/cc_sec_defs.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/crypto_driver.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/nvm.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/nvm_otp.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/rsa.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/sbrom_bsv_api.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/secureboot_base_func.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/secureboot_gen_defs.h [new file with mode: 0644]
include/drivers/arm/cryptocell/712/util.h [new file with mode: 0644]
include/drivers/arm/cryptocell/cc_crypto_boot_defs.h [deleted file]
include/drivers/arm/cryptocell/cc_pal_sb_plat.h [deleted file]
include/drivers/arm/cryptocell/cc_pal_types.h [deleted file]
include/drivers/arm/cryptocell/cc_pal_types_plat.h [deleted file]
include/drivers/arm/cryptocell/cc_sec_defs.h [deleted file]
include/drivers/arm/cryptocell/crypto_driver.h [deleted file]
include/drivers/arm/cryptocell/nvm.h [deleted file]
include/drivers/arm/cryptocell/nvm_otp.h [deleted file]
include/drivers/arm/cryptocell/rsa.h [deleted file]
include/drivers/arm/cryptocell/sbrom_bsv_api.h [deleted file]
include/drivers/arm/cryptocell/secureboot_base_func.h [deleted file]
include/drivers/arm/cryptocell/secureboot_gen_defs.h [deleted file]
include/drivers/arm/cryptocell/util.h [deleted file]