summaryrefslogtreecommitdiff
path: root/drivers/crypto/nuvoton
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-05-01 19:30:39 -0600
committerTom Rini <[email protected]>2024-05-07 08:00:41 -0600
commitdcd59134c64ef369716cd2f78a8dbe765bec331d (patch)
treec915f3cf082af712c407296f892e3220fbed33b3 /drivers/crypto/nuvoton
parent910522fc9cb45ab0331a641f84b06dfe48618894 (diff)
crypto: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/crypto/nuvoton')
-rw-r--r--drivers/crypto/nuvoton/npcm_aes.c2
-rw-r--r--drivers/crypto/nuvoton/npcm_sha.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/nuvoton/npcm_aes.c b/drivers/crypto/nuvoton/npcm_aes.c
index 6493ea108ec..8d3a30ea918 100644
--- a/drivers/crypto/nuvoton/npcm_aes.c
+++ b/drivers/crypto/nuvoton/npcm_aes.c
@@ -3,13 +3,13 @@
* Copyright (c) 2021 Nuvoton Technology Corp.
*/
-#include <common.h>
#include <dm.h>
#include <uboot_aes.h>
#include <asm/io.h>
#include <asm/arch/aes.h>
#include <asm/arch/otp.h>
#include <malloc.h>
+#include <time.h>
#define ONE_SECOND 0xC00000
diff --git a/drivers/crypto/nuvoton/npcm_sha.c b/drivers/crypto/nuvoton/npcm_sha.c
index 7ebdfa16f4f..f06be86ca59 100644
--- a/drivers/crypto/nuvoton/npcm_sha.c
+++ b/drivers/crypto/nuvoton/npcm_sha.c
@@ -3,7 +3,6 @@
* Copyright (c) 2022 Nuvoton Technology Corp.
*/
-#include <common.h>
#include <dm.h>
#include <hash.h>
#include <malloc.h>