X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fatum8548%2Fatum8548.c;h=34f4599048a3fc825aa0b69dae8cdc7e32b45ca8;hb=6841785a0bb0f38175456a923edd634fb7dd6947;hp=f11abd816bb3a0bf2ec0bebf58c48dee0cb0965b;hpb=bb66f5613672fc80a6b38a0e1651d893bbe590a5;p=u-boot diff --git a/board/atum8548/atum8548.c b/board/atum8548/atum8548.c index f11abd816b..34f4599048 100644 --- a/board/atum8548/atum8548.c +++ b/board/atum8548/atum8548.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include @@ -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;