summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-armv7/cbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-armv7/cbmem.c')
-rw-r--r--src/mainboard/emulation/qemu-armv7/cbmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/cbmem.c b/src/mainboard/emulation/qemu-armv7/cbmem.c
index 157e443910..5c423a05bb 100644
--- a/src/mainboard/emulation/qemu-armv7/cbmem.c
+++ b/src/mainboard/emulation/qemu-armv7/cbmem.c
@@ -4,7 +4,7 @@
#include <symbols.h>
#include <ramdetect.h>
-void *cbmem_top_chipset(void)
+uintptr_t cbmem_top_chipset(void)
{
- return _dram + (probe_ramsize((uintptr_t)_dram, CONFIG_DRAM_SIZE_MB) * MiB);
+ return (uintptr_t)_dram + (probe_ramsize((uintptr_t)_dram, CONFIG_DRAM_SIZE_MB) * MiB);
}