summaryrefslogtreecommitdiff
path: root/src/soc/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/ucb')
-rw-r--r--src/soc/ucb/riscv/cbmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/ucb/riscv/cbmem.c b/src/soc/ucb/riscv/cbmem.c
index 157e443910..5c423a05bb 100644
--- a/src/soc/ucb/riscv/cbmem.c
+++ b/src/soc/ucb/riscv/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);
}