summaryrefslogtreecommitdiff
path: root/src/soc/broadcom/cygnus/cbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/broadcom/cygnus/cbmem.c')
-rw-r--r--src/soc/broadcom/cygnus/cbmem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/broadcom/cygnus/cbmem.c b/src/soc/broadcom/cygnus/cbmem.c
index 4532b7e01c..6b11a95fb6 100644
--- a/src/soc/broadcom/cygnus/cbmem.c
+++ b/src/soc/broadcom/cygnus/cbmem.c
@@ -19,8 +19,10 @@
#include <cbmem.h>
#include <stddef.h>
+#include <symbols.h>
+#include <soc/sdram.h>
void *cbmem_top(void)
{
- return NULL;
+ return _dram + sdram_size_mb()*MiB;
}