diff options
author | Remi Pommarel <repk@triplefau.lt> | 2019-03-28 23:34:18 +0100 |
---|---|---|
committer | Remi Pommarel <repk@triplefau.lt> | 2019-04-02 16:33:59 +0200 |
commit | b99f9224edec2339ebc9eaf320a80a6885ae0f3e (patch) | |
tree | 783551db4cee7cfd4a39ebec07ce84352ecdae89 /plat | |
parent | 95d0d13ce2095d821662a624faf1ac4e5a13f928 (diff) | |
download | platform_external_arm-trusted-firmware-b99f9224edec2339ebc9eaf320a80a6885ae0f3e.tar.gz platform_external_arm-trusted-firmware-b99f9224edec2339ebc9eaf320a80a6885ae0f3e.tar.bz2 platform_external_arm-trusted-firmware-b99f9224edec2339ebc9eaf320a80a6885ae0f3e.zip |
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 <repk@triplefau.lt>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/meson/gxl/platform.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plat/meson/gxl/platform.mk b/plat/meson/gxl/platform.mk index 7437dfdfd..de6192926 100644 --- a/plat/meson/gxl/platform.mk +++ b/plat/meson/gxl/platform.mk @@ -7,6 +7,7 @@ include lib/xlat_tables_v2/xlat_tables.mk PLAT_INCLUDES := -Iinclude/drivers/meson/ \ + -Iinclude/drivers/meson/gxl \ -Iplat/meson/gxl/include GXBB_GIC_SOURCES := drivers/arm/gic/common/gic_common.c \ @@ -22,13 +23,14 @@ PLAT_BL_COMMON_SOURCES := drivers/meson/console/aarch64/meson_console.S \ BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \ plat/common/plat_psci_common.c \ plat/meson/gxl/aarch64/gxl_helpers.S \ - plat/meson/gxl/gxl_bl31_setup.c \ + plat/meson/gxl/gxl_bl31_setup.c \ plat/meson/gxl/gxl_efuse.c \ plat/meson/gxl/gxl_mhu.c \ - plat/meson/gxl/gxl_pm.c \ + plat/meson/gxl/gxl_pm.c \ plat/meson/gxl/gxl_scpi.c \ plat/meson/gxl/gxl_sip_svc.c \ plat/meson/gxl/gxl_thermal.c \ + drivers/meson/gxl/crypto/sha_dma.c \ ${GXBB_GIC_SOURCES} # Tune compiler for Cortex-A53 |