summaryrefslogtreecommitdiff
path: root/src/soc/broadcom/cygnus/sdram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/broadcom/cygnus/sdram.c')
-rw-r--r--src/soc/broadcom/cygnus/sdram.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/broadcom/cygnus/sdram.c b/src/soc/broadcom/cygnus/sdram.c
index 1642842e0c..bab126d66c 100644
--- a/src/soc/broadcom/cygnus/sdram.c
+++ b/src/soc/broadcom/cygnus/sdram.c
@@ -60,3 +60,8 @@ void sdram_init(void)
test_ddr();
}
+
+uint32_t sdram_size_mb(void)
+{
+ return CONFIG_DRAM_SIZE_MB;
+}