X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=board%2Fpdm360ng%2Fpdm360ng.c;h=c833aec9b26fe783f1c0e601c38692e734ff6f9c;hb=088454cd;hp=ef19daf3c953de29d290218be5370eb2863ecefc;hpb=52c411805c090999f015df8bdf8016fb684746d0;p=pandora-u-boot.git 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 *);