summaryrefslogtreecommitdiff
path: root/src/soc/cavium/cn81xx/cbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/cavium/cn81xx/cbmem.c')
-rw-r--r--src/soc/cavium/cn81xx/cbmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/cavium/cn81xx/cbmem.c b/src/soc/cavium/cn81xx/cbmem.c
index d50fe16519..0b0c7176a8 100644
--- a/src/soc/cavium/cn81xx/cbmem.c
+++ b/src/soc/cavium/cn81xx/cbmem.c
@@ -5,8 +5,8 @@
#include <soc/sdram.h>
#include <symbols.h>
-void *cbmem_top_chipset(void)
+uintptr_t cbmem_top_chipset(void)
{
/* Make sure not to overlap with reserved ATF scratchpad */
- return (void *)((uintptr_t)_dram + (sdram_size_mb() - 1) * MiB);
+ return (uintptr_t)_dram + (sdram_size_mb() - 1) * MiB;
}