From 1e2500e948750270011b133203be0fe1dbcba827 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 19 Jun 2015 14:59:06 -0700 Subject: device: DDR3 generic code 64bit fix Signed-off-by: Stefan Reinauer Change-Id: I5ff309948c36289eedeb8a18030cdd2b4c337690 Reviewed-on: http://review.coreboot.org/10595 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- src/include/device/dram/ddr3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h index 10924a2680..295ea2581d 100644 --- a/src/include/device/dram/ddr3.h +++ b/src/include/device/dram/ddr3.h @@ -186,7 +186,7 @@ void dram_print_spd_ddr3(const dimm_attr * dimm); * * Should be useful when doing an MRS to the DIMM */ -static inline u32 volatile_read(volatile u32 addr) +static inline u32 volatile_read(volatile uintptr_t addr) { volatile u32 result; result = *(volatile u32 *)addr; -- cgit v1.2.3