summaryrefslogtreecommitdiffstats
path: root/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuPostInit.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2015-07-30 11:17:40 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-10-30 18:24:07 +0100
commitd91ddc8d3181b8ab23726c8e744093f39473c202 (patch)
tree9214b34758be7bb547f7168fc838abeb00e05c7d /src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuPostInit.c
parent772029fe7321e0ddea11711b6756a32f19572db4 (diff)
downloadcoreboot-d91ddc8d3181b8ab23726c8e744093f39473c202.tar.gz
coreboot-d91ddc8d3181b8ab23726c8e744093f39473c202.tar.bz2
coreboot-d91ddc8d3181b8ab23726c8e744093f39473c202.zip
vendorcode/amd: 64bit fixes
Change-Id: I6a0752cf0c0e484e670acca97c4991b5578845fb Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/11081 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuPostInit.c')
-rw-r--r--src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuPostInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuPostInit.c b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuPostInit.c
index 605e0c4325d8..f1217a32c857 100644
--- a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuPostInit.c
+++ b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuPostInit.c
@@ -202,7 +202,7 @@ GetPstateGatherDataAddressAtPost (
AddressValue = P_STATE_DATA_GATHER_TEMP_ADDR;
- *Ptr = (UINT64 *)(UINT32)(AddressValue);
+ *Ptr = (UINT64 *)(UINTN)(AddressValue);
return AGESA_SUCCESS;
}