summaryrefslogtreecommitdiff
path: root/drivers/tpm/tpm_tis_sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:14 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:23:07 -0500
commitc3a4d1c3ee1f528a62e0de55ed034fa6d23c0add (patch)
treefa74607979d7d94f35241b3bf939453816662167 /drivers/tpm/tpm_tis_sandbox.c
parent840ef4d43b69a687660b3722b9c4a8a44a2912f8 (diff)
common: Drop linux/crc8.h
We have an existing U-Boot header for the one function that this defines. Use that instead of the linux/ one. Move over the nice comment. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/tpm/tpm_tis_sandbox.c')
-rw-r--r--drivers/tpm/tpm_tis_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tpm/tpm_tis_sandbox.c b/drivers/tpm/tpm_tis_sandbox.c
index 3336f559e5..2dff0d3eee 100644
--- a/drivers/tpm/tpm_tis_sandbox.c
+++ b/drivers/tpm/tpm_tis_sandbox.c
@@ -8,7 +8,7 @@
#include <tpm-v1.h>
#include <asm/state.h>
#include <asm/unaligned.h>
-#include <linux/crc8.h>
+#include <u-boot/crc.h>
/* TPM NVRAM location indices. */
#define FIRMWARE_NV_INDEX 0x1007