mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
tee: remove common.h inclusion
The usage of the common.h include file is deprecated [1], and has already been removed from several files. Get rid of all inclusions in the "drivers/tee" directory, and replace it with required include files directly where needed. [1] doc/develop/codingstyle.rst Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
f5d14bea8f
commit
b905599b36
7 changed files with 4 additions and 7 deletions
|
@ -3,9 +3,10 @@
|
|||
* Copyright 2020 Broadcom.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <tee.h>
|
||||
#include <broadcom/chimp.h>
|
||||
#include <linux/errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef CONFIG_CHIMP_OPTEE
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (c) 2018-2020 Linaro Limited
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <dm.h>
|
||||
#include <dm/device_compat.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (c) 2020 Foundries.io Ltd
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
#include <tee.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (c) 2018 Linaro Limited
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <tee.h>
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
* Copyright (c) 2018, Linaro Limited
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
#include <tee.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include "optee_msg.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Linaro Limited
|
||||
*/
|
||||
#include <common.h>
|
||||
|
||||
#include <dm.h>
|
||||
#include <sandboxtee.h>
|
||||
#include <tee.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#define LOG_CATEGORY UCLASS_TEE
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue