mvbc_p board: fix most build warnings.
authorWolfgang Denk <wd@denx.de>
Thu, 31 Jul 2008 13:27:01 +0000 (15:27 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 31 Jul 2008 13:27:01 +0000 (15:27 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
board/matrix_vision/mvbc_p/mvbc_p.c

index b61e84e3873b3b5b90c5f4513e6f0439778bebe7..5c71dec822135a054fc4bccdffccfbace574c958 100644 (file)
@@ -32,6 +32,7 @@
 #include <malloc.h>
 #include <pci.h>
 #include <i2c.h>
+#include <fpga.h>
 #include <environment.h>
 #include <fdt_support.h>
 #include <asm/io.h>
@@ -109,7 +110,7 @@ void mvbc_init_gpio(void)
        struct mpc5xxx_gpio *gpio = (struct mpc5xxx_gpio*)MPC5XXX_GPIO;
 
        printf("Ports : 0x%08x\n", gpio->port_config);
-       printf("PORCFG: 0x%08x\n", *(vu_long*)MPC5XXX_CDM_PORCFG);
+       printf("PORCFG: 0x%08lx\n", *(vu_long*)MPC5XXX_CDM_PORCFG);
 
        out_be32(&gpio->simple_ddr, SIMPLE_DDR);
        out_be32(&gpio->simple_dvo, SIMPLE_DVO);