summaryrefslogtreecommitdiff
path: root/src/soc/ti/am335x/cbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/ti/am335x/cbmem.c')
-rw-r--r--src/soc/ti/am335x/cbmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/ti/am335x/cbmem.c b/src/soc/ti/am335x/cbmem.c
index 170695eff8..14c927e960 100644
--- a/src/soc/ti/am335x/cbmem.c
+++ b/src/soc/ti/am335x/cbmem.c
@@ -4,7 +4,7 @@
#include <commonlib/bsd/helpers.h>
#include <symbols.h>
-void *cbmem_top_chipset(void)
+uintptr_t cbmem_top_chipset(void)
{
- return _dram + CONFIG_DRAM_SIZE_MB * MiB;
+ return (uintptr_t)_dram + CONFIG_DRAM_SIZE_MB * MiB;
}