diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-31 13:27:01 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-31 13:27:01 (GMT) |
commit | 0b4951d4cddca9cc800745891c95b291e47cbbd7 (patch) | |
tree | 7cab2b903968288459a1d15e0f27887876bca707 /board | |
parent | c4ec6db074051d2f6fc76a66411c60621b22bc02 (diff) | |
download | u-boot-0b4951d4cddca9cc800745891c95b291e47cbbd7.tar.xz |
mvbc_p board: fix most build warnings.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/matrix_vision/mvbc_p/mvbc_p.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/matrix_vision/mvbc_p/mvbc_p.c b/board/matrix_vision/mvbc_p/mvbc_p.c index b61e84e..5c71dec 100644 --- a/board/matrix_vision/mvbc_p/mvbc_p.c +++ b/board/matrix_vision/mvbc_p/mvbc_p.c @@ -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); |