From 26d943935345db2210da2cf72a0e381f468a32e1 Mon Sep 17 00:00:00 2001 From: Carlo Caione Date: Wed, 18 Sep 2019 10:12:35 +0100 Subject: amlogic: sha_dma: Move register mappings to platform header The registers location for the SHA DMA driver is not unique for the different platforms. Move the mapping out of the driver and into the platform-specific header. Signed-off-by: Carlo Caione Change-Id: Ice64637844a3cb384b01e466cb8c1cea5f764129 --- drivers/amlogic/crypto/sha_dma.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'drivers') diff --git a/drivers/amlogic/crypto/sha_dma.c b/drivers/amlogic/crypto/sha_dma.c index d48ded98..fceb1c0d 100644 --- a/drivers/amlogic/crypto/sha_dma.c +++ b/drivers/amlogic/crypto/sha_dma.c @@ -9,10 +9,7 @@ #include #include -#define AML_SHA_DMA_BASE 0xc883e000 - -#define AML_SHA_DMA_DESC (AML_SHA_DMA_BASE + 0x08) -#define AML_SHA_DMA_STATUS (AML_SHA_DMA_BASE + 0x18) +#include "aml_private.h" #define ASD_MODE_SHA224 0x7 #define ASD_MODE_SHA256 0x6 -- cgit v1.2.3