]> git.sur5r.net Git - u-boot/blobdiff - board/atum8548/atum8548.c
EB+MCF-EV123 board: fix syntx error
[u-boot] / board / atum8548 / atum8548.c
index f11abd816bb3a0bf2ec0bebf58c48dee0cb0965b..34f4599048a3fc825aa0b69dae8cdc7e32b45ca8 100644 (file)
@@ -30,7 +30,7 @@
 #include <asm/immap_85xx.h>
 #include <asm/immap_fsl_pci.h>
 #include <asm/io.h>
-#include <spd.h>
+#include <spd_sdram.h>
 #include <miiphy.h>
 #include <libfdt.h>
 #include <fdt_support.h>
@@ -39,7 +39,6 @@
 extern void ddr_enable_ecc(unsigned int dram_size);
 #endif
 
-extern long int spd_sdram(void);
 long int fixed_sdram(void);
 
 int board_early_init_f (void)
@@ -54,7 +53,7 @@ int checkboard (void)
        volatile ccsr_local_ecm_t *ecm = (void *)(CFG_MPC85xx_ECM_ADDR);
 
        if ((uint)&gur->porpllsr != 0xe00e0000) {
-               printf("immap size error %x\n",&gur->porpllsr);
+               printf("immap size error %lx\n",(ulong)&gur->porpllsr);
        }
        printf ("Board: ATUM8548\n");
 
@@ -99,7 +98,7 @@ long int fixed_sdram (void)
 }
 #endif /* !defined(CONFIG_SPD_EEPROM) */
 
-long int
+phys_size_t
 initdram(int board_type)
 {
        long dram_size = 0;