ppc4xx: Big cleanup of PPC4xx defines
[platform/kernel/u-boot.git] / board / sbc405 / sbc405.c
index 0ae6d0b..66842ea 100644 (file)
@@ -52,7 +52,7 @@ int board_early_init_f (void)
        /*
         * EBC Configuration Register: set ready timeout to 512 ebc-clks -> ca. 15 us
         */
-       mtebc (epcr, 0xa8400000);
+       mtebc (EBC0_CFG, 0xa8400000);
 
        return 0;
 }
@@ -96,7 +96,7 @@ int checkboard (void)
 
 /* ------------------------------------------------------------------------- */
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        return  spd_sdram ();
 }