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