Commit 01b2a7fc authored by Carlo Caione's avatar Carlo Caione
Browse files

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: default avatarCarlo Caione <ccaione@baylibre.com>
Change-Id: I96319eeeeeebd503ef0dcb07c0e4ff6a67afeaa5
parent 40fac1ab
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment