]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/ppc4xx/sdram.c
Change initdram() return type to phys_size_t
[karo-tx-uboot.git] / cpu / ppc4xx / sdram.c
index c7771addaac890229cc182a226467762e8f40f50..7d60ad667fd7353dfe950b898ba16cfb1634ff54 100644 (file)
@@ -164,7 +164,7 @@ static ulong compute_rtr(ulong speed, ulong rows, ulong refresh)
 /*
  * Autodetect onboard SDRAM on 405 platforms
  */
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        ulong speed;
        ulong sdtr1;
@@ -346,7 +346,7 @@ static void sdram_tr1_set(int ram_address, int* tr1_value)
  *      so this should be extended for other future boards
  *      using this routine!
  */
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        int i;
        int tr1_bank1;