Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42983 )
Change subject: drivers/pci80/tpm/tis: Add x86_64 support ......................................................................
drivers/pci80/tpm/tis: Add x86_64 support
Fix integer with different size to pointer conversion on x86_64.
Change-Id: Ic06a32d549b694310f4c724246f28fed15acf83f Signed-off-by: Patrick Rudolph siro@das-labor.org --- M src/drivers/pc80/tpm/tis.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/42983/1
diff --git a/src/drivers/pc80/tpm/tis.c b/src/drivers/pc80/tpm/tis.c index e18f9af..4fbb09e 100644 --- a/src/drivers/pc80/tpm/tis.c +++ b/src/drivers/pc80/tpm/tis.c @@ -44,7 +44,7 @@
/* the macro accepts the locality value, but only locality 0 is operational */ #define TIS_REG(LOCALITY, REG) \ - (void *)(CONFIG_TPM_TIS_BASE_ADDRESS + (LOCALITY << 12) + REG) + (void *)(uintptr_t)(CONFIG_TPM_TIS_BASE_ADDRESS + (LOCALITY << 12) + REG)
/* hardware registers' offsets */ #define TIS_REG_ACCESS 0x0