summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/tpm
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/tpm')
-rw-r--r--src/drivers/i2c/tpm/tis.c2
-rw-r--r--src/drivers/i2c/tpm/tpm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/tpm/tis.c b/src/drivers/i2c/tpm/tis.c
index d9a7651008..47823e8953 100644
--- a/src/drivers/i2c/tpm/tis.c
+++ b/src/drivers/i2c/tpm/tis.c
@@ -25,8 +25,8 @@
#include <string.h>
#include <assert.h>
#include <delay.h>
-#include <arch/byteorder.h>
#include <device/i2c.h>
+#include <endian.h>
#include <tpm.h>
#include "tpm.h"
#include <timer.h>
diff --git a/src/drivers/i2c/tpm/tpm.c b/src/drivers/i2c/tpm/tpm.c
index 63ef29547f..830a04b04f 100644
--- a/src/drivers/i2c/tpm/tpm.c
+++ b/src/drivers/i2c/tpm/tpm.c
@@ -41,8 +41,8 @@
#include <types.h>
#include <delay.h>
#include <console/console.h>
-#include <arch/byteorder.h>
#include <device/i2c.h>
+#include <endian.h>
#include "tpm.h"
/* Address of the TPM on the I2C bus */