]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mpc8260ads/mpc8260ads.c
MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver
[u-boot] / board / freescale / mpc8260ads / mpc8260ads.c
index 93550e2ad01be9730f7e4f2cd4ea51ba433afef7..6f683f031bd8dfd3ffed1cadfc1f137a24750ad2 100644 (file)
@@ -304,7 +304,7 @@ int board_early_init_f (void)
 
 #define ns2clk(ns) (ns / (1000000000 / CONFIG_8260_CLKIN) + 1)
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
 #if   CONFIG_ADSTYPE == CFG_PQ2FADS
        long int msize = 32;
@@ -340,7 +340,7 @@ long int initdram (int board_type)
 #if CONFIG_ADSTYPE == CFG_PQ2FADS /* CS3 */
                memctl->memc_or3   = 0xFF803280;
                memctl->memc_br3   = CFG_LSDRAM_BASE | 0x00001861;
-#else                                    /* CS4 */
+#else                            /* CS4 */
                memctl->memc_or4   = 0xFFC01480;
                memctl->memc_br4   = CFG_LSDRAM_BASE | 0x00001861;
 #endif /* CONFIG_ADSTYPE == CFG_PQ2FADS */