From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Wed, 24 Mar 2010 20:03:50 +0100 Subject: [U-Boot] [PATCH] at91: Get rid of some warnings when building for otc570 In-Reply-To: <20100324120754.CB05D4C022@gemini.denx.de> References: <201003241016.20459.matthias.fuchs@esd.eu> <20100324120754.CB05D4C022@gemini.denx.de> Message-ID: <201003242003.52717.matthias.fuchs@esd-electronics.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Dear Matthias Fuchs, > > In message <201003241016.20459.matthias.fuchs@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 > > --- > > 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 ! These are not fixable on-the-fly. As you might know there is a bigger work-in-progress to switch the AT91 support completely towards c structs. I don't expect this to be done before the outstanding release. I am not sure if anyone is working on this right now. If so, please raise your finger! Matthias