]> git.sur5r.net Git - u-boot/blobdiff - board/eric/eric.c
arm, i2c: added support for the TWSI I2C Interface
[u-boot] / board / eric / eric.c
index 14ba9b0a4132d9f1dc81b3b4bdba0946a8f30a06..600b9d7a7ced4e2bb15f266efbfda334b49487b0 100644 (file)
@@ -121,7 +121,7 @@ int checkboard (void)
 */
 /* ------------------------------------------------------------------------- */
 /* ------------------------------------------------------------------------- */
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
 #ifndef CONFIG_ERIC
        int i;
@@ -142,7 +142,7 @@ long int initdram (int board_type)
         * so let init.S do the init job for SDRAM
         * and simply return 32MByte here
         */
-       return (CFG_SDRAM_SIZE * 1024 * 1024);
+       return (CONFIG_SYS_SDRAM_SIZE * 1024 * 1024);
 #else
 
        /* Read Serial Presence Detect Information */