amlogic: Move the SHA256 DMA driver to common directory

The SHA256 DMA driver can be used by multiple SoCs. Move it to the
common directory.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Change-Id: I96319eeeeeebd503ef0dcb07c0e4ff6a67afeaa5
This commit is contained in:
Carlo Caione 2019-08-24 17:17:30 +01:00
parent 40fac1ab4c
commit 01b2a7fc32
3 changed files with 3 additions and 4 deletions

View File

@ -4,10 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <arch_helpers.h>
#include <lib/mmio.h>
#include <assert.h>
#include <crypto/sha_dma.h>
#include <lib/mmio.h>
#define AML_SHA_DMA_BASE 0xc883e000

View File

@ -14,7 +14,6 @@ DOIMAGEPATH ?= tools/amlogic
DOIMAGETOOL ?= ${DOIMAGEPATH}/doimage
PLAT_INCLUDES := -Iinclude/drivers/amlogic/ \
-Iinclude/drivers/amlogic/${PLAT} \
-I${AML_PLAT_SOC}/include
GIC_SOURCES := drivers/arm/gic/common/gic_common.c \
@ -37,7 +36,7 @@ BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
${AML_PLAT_SOC}/gxl_scpi.c \
${AML_PLAT_SOC}/gxl_sip_svc.c \
${AML_PLAT_SOC}/gxl_thermal.c \
drivers/amlogic/${PLAT}/crypto/sha_dma.c \
drivers/amlogic/crypto/sha_dma.c \
${GIC_SOURCES}
# Tune compiler for Cortex-A53