meson/gxl: Add support for SHA256 DMA engine
authorRemi Pommarel <[email protected]>
Thu, 28 Mar 2019 22:34:18 +0000 (23:34 +0100)
committerRemi Pommarel <[email protected]>
Tue, 2 Apr 2019 14:33:59 +0000 (16:33 +0200)
commitb99f9224edec2339ebc9eaf320a80a6885ae0f3e
tree783551db4cee7cfd4a39ebec07ce84352ecdae89
parent95d0d13ce2095d821662a624faf1ac4e5a13f928
meson/gxl: Add support for SHA256 DMA engine

In order to configure and boot SCP, BL31 has to compute and send
the SHA-256 of the firmware data via scpi. Luckily Amlogic GXL SOC
has a DMA facility that could be used to offload SHA-256
computations. This adds basic support of this hardware SHA-256
engine.

Signed-off-by: Remi Pommarel <[email protected]>
drivers/meson/gxl/crypto/sha_dma.c [new file with mode: 0644]
include/drivers/meson/gxl/crypto/sha_dma.h [new file with mode: 0644]
plat/meson/gxl/platform.mk