]> git.sur5r.net Git - u-boot/blobdiff - board/sbc8349/sbc8349.c
FSL DDR: Convert MPC8560ADS to new DDR code.
[u-boot] / board / sbc8349 / sbc8349.c
index 5446c205e10656fbeac83a5efd0e2a0e4d873fb0..4a44fda31e917711ff1cb828df3dd125fe58f192 100644 (file)
 #include <mpc83xx.h>
 #include <asm/mpc8349_pci.h>
 #include <i2c.h>
-#include <spd.h>
-#include <miiphy.h>
-#if defined(CONFIG_SPD_EEPROM)
 #include <spd_sdram.h>
-#endif
+#include <miiphy.h>
 #if defined(CONFIG_OF_LIBFDT)
 #include <libfdt.h>
 #endif
@@ -55,7 +52,7 @@ int board_early_init_f (void)
 
 #define ns2clk(ns) (ns / (1000000000 / CONFIG_8349_CLKIN) + 1)
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        volatile immap_t *im = (immap_t *)CFG_IMMR;
        u32 msize = 0;