diff options
Diffstat (limited to 'board/pdm360ng/pdm360ng.c')
-rw-r--r-- | board/pdm360ng/pdm360ng.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/pdm360ng/pdm360ng.c b/board/pdm360ng/pdm360ng.c index ef19daf3c9..c833aec9b2 100644 --- a/board/pdm360ng/pdm360ng.c +++ b/board/pdm360ng/pdm360ng.c @@ -48,7 +48,7 @@ sdram_conf_t mddrc_config[] = { }, }; -phys_size_t initdram(void) +int initdram(void) { int i; u32 msize = 0; @@ -95,7 +95,9 @@ phys_size_t initdram(void) break; } - return msize; + gd->ram_size = msize; + + return 0; } static int set_lcd_brightness(char *); |