]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - nand_spl/board/amcc/bamboo/sdram.c
Change initdram() return type to phys_size_t
[karo-tx-uboot.git] / nand_spl / board / amcc / bamboo / sdram.c
index ca25252edfd8564c3e2edb3bf91a393fb564523b..adede44c37e9b920c37d8d5b6ebb57d8077abe1d 100644 (file)
@@ -36,7 +36,7 @@ static void wait_init_complete(void)
 }
 
 /*
- * long int initdram(int board_type)
+ * phys_size_t initdram(int board_type)
  *
  * As the name already indicates, this function is called very early
  * from start.S and configures the SDRAM with fixed values. This is needed,
@@ -51,7 +51,7 @@ static void wait_init_complete(void)
  * modules are still plugged in. So it is recommended to remove the DIMM
  * modules while using the NAND booting code with the fixed SDRAM setup!
  */
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        /*
         * Soft-reset SDRAM controller.