Martin Roth (martin.roth@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3126
-gerrit
commit 3412fd185fb0e2a1b0d9d05b30ac811534cc9db5 Author: Martin Roth martin.roth@se-eng.com Date: Tue Apr 23 15:11:52 2013 -0600
AMD F15: Fix warning in Proc/CPU/Feature
Fix Warning: cpuFeatureLeveling.c:265, GNU Compiler 4 (gcc), Priority: Normal cast to pointer from integer of different size [-Wint-to-pointer-cast] with an intermediate cast to (intptr_t)
Change-Id: I3bfd2ea1e797632316675338789dabef8f73ba64 Signed-off-by: Martin Roth martin.roth@se-eng.com --- src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c b/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c index 1f2e708..294a18d 100644 --- a/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c +++ b/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuFeatureLeveling.c @@ -262,5 +262,5 @@ GetGlobalCpuFeatureListAddress (
AddressValue = GLOBAL_CPU_FEATURE_LIST_TEMP_ADDR;
- *Address = (UINT64 *)(AddressValue); + *Address = (UINT64 *) (intptr_t) (AddressValue); }