summaryrefslogtreecommitdiff
path: root/board/esd/mecp5123/mecp5123.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/mecp5123/mecp5123.c')
-rw-r--r--board/esd/mecp5123/mecp5123.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/esd/mecp5123/mecp5123.c b/board/esd/mecp5123/mecp5123.c
index b8eb32b..80963fe 100644
--- a/board/esd/mecp5123/mecp5123.c
+++ b/board/esd/mecp5123/mecp5123.c
@@ -62,9 +62,11 @@ int board_early_init_f(void)
return 0;
}
-phys_size_t initdram(void)
+int initdram(void)
{
- return get_ram_size(0, fixed_sdram(NULL, NULL, 0));
+ gd->ram_size = get_ram_size(0, fixed_sdram(NULL, NULL, 0));
+
+ return 0;
}
int misc_init_r(void)