]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mpc837xerdb/mpc837xerdb.c
MPC8610HPCD: Report board id, board version and fpga version.
[u-boot] / board / freescale / mpc837xerdb / mpc837xerdb.c
index e054f4e44d143034acb58704cce9b6d472892098..aaefc189913e4bb4c29238bcfd72ad59014ca652 100644 (file)
 #include <i2c.h>
 #include <asm/io.h>
 #include <asm/fsl_serdes.h>
+#include <fdt_support.h>
 #include <spd_sdram.h>
 #include <vsc7385.h>
 
-
 #if defined(CFG_DRAM_TEST)
 int
 testdram(void)
@@ -64,7 +64,7 @@ void ddr_enable_ecc(unsigned int dram_size);
 #endif
 int fixed_sdram(void);
 
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        immap_t *im = (immap_t *) CFG_IMMR;
        u32 msize = 0;