]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/intercontrol/digsy_mtc/digsy_mtc.c
board_f: Drop return value from initdram()
[people/ms/u-boot.git] / board / intercontrol / digsy_mtc / digsy_mtc.c
index 9bada940b7d545ccc07624085d7c2f71ec406f32..922d9ef0a17576bc57454e8d01dfbc5b33966283 100644 (file)
@@ -79,7 +79,7 @@ static void sdram_start(int hi_addr)
  *            CONFIG_SYS_SDRAM_BASE is something other than 0x00000000.
  */
 
-phys_size_t initdram(void)
+int initdram(void)
 {
        ulong dramsize = 0;
        ulong dramsize2 = 0;
@@ -172,7 +172,9 @@ phys_size_t initdram(void)
            (PVR_MAJ(pvr) == 1) && (PVR_MIN(pvr) == 4))
                out_be32((void *)MPC5XXX_SDRAM_SDELAY, 0x04);
 
-       return dramsize + dramsize2;
+       gd->ram_size = dramsize + dramsize2;
+
+       return 0;
 }
 
 int checkboard(void)