]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/cobra5272/cobra5272.c
Merge remote-tracking branch 'u-boot-imx/master'
[karo-tx-uboot.git] / board / cobra5272 / cobra5272.c
index 86c7ee1eec02a74d64885b329947999b82263813..a62214cf597a2964a3d2cae3d5158ad49f2ad46d 100644 (file)
@@ -32,7 +32,7 @@ int checkboard (void)
        return 0;
 };
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        volatile sdramctrl_t *sdp = (sdramctrl_t *) (MMAP_SDRAM);
 
@@ -42,7 +42,7 @@ long int initdram (int board_type)
        /* Dummy write to start SDRAM */
        *((volatile unsigned long *) 0) = 0;
 
-       return CFG_SDRAM_SIZE * 1024 * 1024;
+       return CONFIG_SYS_SDRAM_SIZE * 1024 * 1024;
 };
 
 int testdram (void)