cryptocell: move Cryptocell specific API into driver
authorGilad Ben-Yossef <[email protected]>
Tue, 14 May 2019 07:48:18 +0000 (10:48 +0300)
committerGilad Ben-Yossef <[email protected]>
Thu, 25 Jul 2019 10:29:15 +0000 (13:29 +0300)
commit36ec2bb0bcb43b012c1211d73665eebc6012fb48
tree440f02b19502dda5a70d04ca3d22ddfce40957b1
parent7871fff2a2a7459db89bea85e82b8ced09025fbe
cryptocell: move Cryptocell specific API into driver

Code using Cryptocell specific APIs was used as part of the
arm common board ROT support, instead of being abstracted
in Cryptocell specific driver code, creating two problems:
- Any none arm board that uses Cryptocell wuld need to
  copy and paste the same code.
- Inability to cleanly support multiple versions of Cryptocell
  API and products.

Move over Cryptocell specific API calls into the Cryptocell
driver, creating abstraction API where needed.

Signed-off-by: Gilad Ben-Yossef <[email protected]>
Change-Id: I9e03ddce90fcc47cfdc747098bece86dbd11c58e
drivers/auth/cryptocell/cryptocell_crypto.c
drivers/auth/cryptocell/cryptocell_crypto.mk
drivers/auth/cryptocell/cryptocell_plat_helpers.c [new file with mode: 0644]
include/drivers/arm/cryptocell/cc_rotpk.h [new file with mode: 0644]
plat/arm/board/common/board_arm_trusted_boot.c