[U-Boot] [PATCH] at91: Get rid of some warnings when building for otc570

Wolfgang Denk wd at denx.de
Wed Mar 24 13:07:54 CET 2010


Dear Matthias Fuchs,

In message <201003241016.20459.matthias.fuchs at esd.eu> you wrote:
> The soft-i2c code for AT91 defines I2C_SOFT_DECLARATIONS
> for direct access by dereferencing a pio pointer.
> The OTC570 platform uses the AT91 gpio API so it does not
> need the pio variable.
> 
> Signed-off-by: Matthias Fuchs <matthias.fuchs at esd.eu>
> ---
>  include/configs/otc570.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied, thanks.

So this reduces the warnings to the (pretty common, on AT91):

atmel_dataflash_spi.c:25:2: warning: #warning Please update to use C structur SoC access !
atmel_usart.c:21:2: warning: #warning Please update to use C structur SoC access !
ohci-at91.c:30:2: warning: #warning Please update to use C structur SoC access !


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
We are Microsoft. Unix is irrelevant. Openness is futile.  Prepare to
be assimilated.


More information about the U-Boot mailing list