summaryrefslogtreecommitdiff
path: root/board/matrix_vision/mvbc_p
diff options
context:
space:
mode:
authorAndre Schwarz <andre.schwarz@matrix-vision.de>2008-08-18 12:02:51 +0200
committerWolfgang Denk <wd@denx.de>2008-08-21 01:52:08 +0200
commita928d0df211f1d829308d335d19be3ca42558dfc (patch)
treeae7c9513e659b50307ab93ebe4a84ce8854ca668 /board/matrix_vision/mvbc_p
parenta958b663d27f616bd1dfb720d1b476d1ecaaa569 (diff)
downloadu-boot-imx-a928d0df211f1d829308d335d19be3ca42558dfc.zip
u-boot-imx-a928d0df211f1d829308d335d19be3ca42558dfc.tar.gz
u-boot-imx-a928d0df211f1d829308d335d19be3ca42558dfc.tar.bz2
fix mvbc_p board build warnings
fix build warnings @ mvBC-P board by using correct types, i.e. change out_be32 to out_be16 and out_8 accordingly. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
Diffstat (limited to 'board/matrix_vision/mvbc_p')
-rw-r--r--board/matrix_vision/mvbc_p/mvbc_p.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/matrix_vision/mvbc_p/mvbc_p.c b/board/matrix_vision/mvbc_p/mvbc_p.c
index 5c71dec..3332f5a 100644
--- a/board/matrix_vision/mvbc_p/mvbc_p.c
+++ b/board/matrix_vision/mvbc_p/mvbc_p.c
@@ -117,12 +117,12 @@ void mvbc_init_gpio(void)
out_be32(&gpio->simple_ode, SIMPLE_ODE);
out_be32(&gpio->simple_gpioe, SIMPLE_GPIOEN);
- out_be32((u32*)&gpio->sint_ode, SINT_ODE);
- out_be32((u32*)&gpio->sint_ddr, SINT_DDR);
- out_be32((u32*)&gpio->sint_dvo, SINT_DVO);
- out_be32((u32*)&gpio->sint_inten, SINT_INTEN);
- out_be32((u32*)&gpio->sint_itype, SINT_ITYPE);
- out_be32((u32*)&gpio->sint_gpioe, SINT_GPIOEN);
+ out_8(&gpio->sint_ode, SINT_ODE);
+ out_8(&gpio->sint_ddr, SINT_DDR);
+ out_8(&gpio->sint_dvo, SINT_DVO);
+ out_8(&gpio->sint_inten, SINT_INTEN);
+ out_be16(&gpio->sint_itype, SINT_ITYPE);
+ out_8(&gpio->sint_gpioe, SINT_GPIOEN);
out_8((u8*)MPC5XXX_WU_GPIO_ODE, WKUP_ODE);
out_8((u8*)MPC5XXX_WU_GPIO_DIR, WKUP_DIR);