]> git.sur5r.net Git - u-boot/blobdiff - board/amcc/walnut/walnut.c
PCIe endpoint support for AMCC Yucca 440SPe board
[u-boot] / board / amcc / walnut / walnut.c
index 9fca0a60d0e88b76b0e089faef81b751859b2aa0..292e02609e2380847ef92e2493d6b4dab4ff144b 100644 (file)
@@ -67,7 +67,7 @@ int board_early_init_f(void)
  */
 int checkboard(void)
 {
-       unsigned char *s = getenv("serial#");
+       char *s = getenv("serial#");
        uint pvr = get_pvr();
 
        if (pvr == PVR_405GPR_RB) {
@@ -99,7 +99,7 @@ void sdram_init(void)
  */
 long int initdram(int board_type)
 {
-       return spd_sdram(0);
+       return spd_sdram();
 }
 
 int testdram(void)