mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 12:46:14 +02:00
tpm: 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:
parent
0a0a6b7e34
commit
8f9f759d2b
@ -7,12 +7,12 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_TPM
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
#include <irq.h>
|
||||
#include <log.h>
|
||||
#include <spl.h>
|
||||
#include <time.h>
|
||||
#include <tpm-common.h>
|
||||
#include <tpm-v2.h>
|
||||
#include <acpi/acpigen.h>
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_TPM
|
||||
|
||||
#include <common.h>
|
||||
#include <tpm-v1.h>
|
||||
#include <tpm-v2.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
||||
@ -6,9 +6,9 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_TPM
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <time.h>
|
||||
#include <tpm_api.h>
|
||||
#include <tpm-v1.h>
|
||||
#include <tpm-v2.h>
|
||||
|
||||
@ -13,7 +13,6 @@
|
||||
* https://github.com/microsoft/ms-tpm-20-ref/tree/master/Samples/ARM32-FirmwareTPM/optee_ta/fTPM
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <tpm-v2.h>
|
||||
|
||||
@ -5,8 +5,8 @@
|
||||
* Based on the Linux TIS core interface and U-Boot original SPI TPM driver
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <time.h>
|
||||
#include <tpm-v2.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/unaligned/be_byteshift.h>
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
* Copyright 2022 IBM Corp.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <fdtdec.h>
|
||||
#include <i2c.h>
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
* Specifications at www.trustedcomputinggroup.org
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <tpm-v2.h>
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
* Author: Miquel Raynal <miquel.raynal@bootlin.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <tpm-v2.h>
|
||||
#include <asm/state.h>
|
||||
|
||||
@ -13,11 +13,11 @@
|
||||
* It is based on the U-Boot driver tpm_tis_infineon_i2c.c.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <fdtdec.h>
|
||||
#include <log.h>
|
||||
#include <spi.h>
|
||||
#include <time.h>
|
||||
#include <tpm-v2.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
@ -5,11 +5,11 @@
|
||||
* Written by Dirk Eibach <dirk.eibach@gdsys.cc>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <display_options.h>
|
||||
#include <dm.h>
|
||||
#include <tpm-v1.h>
|
||||
#include <i2c.h>
|
||||
#include <time.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
|
||||
@ -19,11 +19,11 @@
|
||||
* Version: 2.1.1
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <fdtdec.h>
|
||||
#include <i2c.h>
|
||||
#include <log.h>
|
||||
#include <time.h>
|
||||
#include <tpm-v1.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
* slb9635), so this driver provides access to locality 0 only.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <mapmem.h>
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
* Copyright (c) 2013 Google, Inc
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <display_options.h>
|
||||
#include <dm.h>
|
||||
#include <tpm-v1.h>
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
* STMicroelectronics Protocol Stack Specification version 1.2.0.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <fdtdec.h>
|
||||
#include <i2c.h>
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
* STMicroelectronics Protocol Stack Specification version 1.2.0.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <fdtdec.h>
|
||||
#include <log.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user