]> git.sur5r.net Git - u-boot/blobdiff - board/esteem192e/esteem192e.c
FSL DDR: Convert MPC8560ADS to new DDR code.
[u-boot] / board / esteem192e / esteem192e.c
index 5c3e9b42657b1a72e3c7aefc24c1cdbe15e9ffff..f3c8662cdba42b37693ffb90640ff5d6cad970dd 100644 (file)
@@ -101,7 +101,7 @@ int checkboard (void)
 /* ------------------------------------------------------------------------- */
 
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        volatile immap_t *immap = (immap_t *) CFG_IMMR;
        volatile memctl8xx_t *memctl = &immap->im_memctl;
@@ -147,8 +147,8 @@ long int initdram (int board_type)
         * Check Bank 0 Memory Size for re-configuration
         *
         */
-       size_b0 = get_ram_size ((ulong *) SDRAM_BASE2_PRELIM, SDRAM_MAX_SIZE);
-       size_b1 = get_ram_size ((ulong *) SDRAM_BASE3_PRELIM, SDRAM_MAX_SIZE);
+       size_b0 = get_ram_size ( (long *)SDRAM_BASE2_PRELIM, SDRAM_MAX_SIZE);
+       size_b1 = get_ram_size ( (long *)SDRAM_BASE3_PRELIM, SDRAM_MAX_SIZE);
 
        printf ("\nbank 0 size %lu\nbank 1 size %lu\n", size_b0, size_b1);