aboutsummaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq806x/cbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/ipq806x/cbmem.c')
-rw-r--r--src/soc/qualcomm/ipq806x/cbmem.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/qualcomm/ipq806x/cbmem.c b/src/soc/qualcomm/ipq806x/cbmem.c
index fdf2605147..782f752b6c 100644
--- a/src/soc/qualcomm/ipq806x/cbmem.c
+++ b/src/soc/qualcomm/ipq806x/cbmem.c
@@ -18,10 +18,9 @@
*/
#include <cbmem.h>
-#include <stddef.h>
-#include <symbols.h>
+#include <soc/soc_services.h>
void *cbmem_top(void)
{
- return (void *)((uintptr_t)_dram + CONFIG_DRAM_SIZE_MB*MiB);
+ return _memlayout_cbmem_top;
}