]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/m5282evb/m5282evb.c
Change initdram() return type to phys_size_t
[people/ms/u-boot.git] / board / m5282evb / m5282evb.c
index 243d6a4d83e9219a44646c65158fc0b83c833276..50e5e77368651498f5209438bc4984d5505c6bba 100644 (file)
@@ -32,7 +32,7 @@ int checkboard (void)
        return 0;
 }
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        u32 dramsize, i, dramclk;
 
@@ -89,4 +89,5 @@ long int initdram (int board_type)
                /* Write to the SDRAM Mode Register */
                *(u32 *)(CFG_SDRAM_BASE + 0x400) = 0xA5A59696;
        }
+       return dramsize;
 }