summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-21 09:55:49 +0100
committerNico Huber <nico.h@gmx.de>2019-04-06 16:02:49 +0000
commitadd76f91d5e6e18d5df52a9ad34906459f5f69e2 (patch)
tree4a561a339b0f7eeeaa20513a2706745dc649f5c7 /src/drivers
parent2452c8414dca45d5e7e3006dc034d523c7ab06b2 (diff)
downloadcoreboot-add76f91d5e6e18d5df52a9ad34906459f5f69e2.tar.xz
src: Use #include <timer.h> when appropriate
Also, extra-lines added or removed and local includes moved down. Change-Id: I5e739233f3742fd68d537f671642bb04886e3009 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32009 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/i2c/tpm/tis.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/i2c/tpm/tis.c b/src/drivers/i2c/tpm/tis.c
index 92c89211df..fd56adefcc 100644
--- a/src/drivers/i2c/tpm/tis.c
+++ b/src/drivers/i2c/tpm/tis.c
@@ -18,15 +18,14 @@
#include <string.h>
#include <assert.h>
#include <commonlib/endian.h>
+#include <console/console.h>
#include <delay.h>
#include <device/i2c_simple.h>
#include <endian.h>
#include <lib.h>
#include <security/tpm/tis.h>
-#include "tpm.h"
-#include <timer.h>
-#include <console/console.h>
+#include "tpm.h"
/* global structure for tpm chip data */
static struct tpm_chip g_chip CAR_GLOBAL;