mirror of
https://xff.cz/git/u-boot/
synced 2026-01-09 12:39:20 +01:00
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 <trini@konsulko.com>
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
* Advanced Crypto Engine - SHA Firmware
|
||||
* Copyright (c) 2012 Samsung Electronics
|
||||
*/
|
||||
#include <common.h>
|
||||
|
||||
#include <config.h>
|
||||
#include "ace_sha.h"
|
||||
#include <log.h>
|
||||
#include <rand.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#ifdef CONFIG_SHA_HW_ACCEL
|
||||
#include <u-boot/sha256.h>
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#ifndef __ACE_SHA_H
|
||||
#define __ACE_SHA_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct exynos_ace_sfr {
|
||||
unsigned int fc_intstat; /* base + 0 */
|
||||
unsigned int fc_intenset;
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright 2021 ASPEED Technology Inc.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <asm/types.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright 2021 ASPEED Technology Inc.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <clk.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
* Based on RNGC driver in drivers/char/hw_random/imx-rngc.c in Linux
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <dm.h>
|
||||
#include <rng.h>
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
* Derived from error.c file in linux drivers/crypto/caam
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
#include <vsprintf.h>
|
||||
#include "desc.h"
|
||||
#include "jr.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Copyright 2021 NXP
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Copyright 2017 NXP
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <fsl_sec.h>
|
||||
#include <memalign.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <cpu_func.h>
|
||||
#include <fsl_sec.h>
|
||||
#include "desc_constr.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* Based on CAAM driver in drivers/crypto/caam in Linux
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <cpu_func.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
#include <asm/cache.h>
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <dm.h>
|
||||
#include <rng.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Copyright 2014 Freescale Semiconductor, Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <fdt_support.h>
|
||||
#if CONFIG_SYS_FSL_SEC_COMPAT == 2 || CONFIG_SYS_FSL_SEC_COMPAT >= 4
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_HASH
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <u-boot/hash.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Author: ChiaWei Wang <chiawei_wang@aspeedtech.com>
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (c) 2022 Nuvoton Technology Corp.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <hash.h>
|
||||
#include <malloc.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <u-boot/rsa-mod-exp.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_MOD_EXP
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <u-boot/rsa-mod-exp.h>
|
||||
|
||||
Reference in New Issue
Block a user