mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
a958b663d2
commit
a928d0df21
1 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue