[U-Boot] [PATCH] BLOCK: Fixup iMX51 ATA driver

Marek Vasut marek.vasut at gmail.com
Tue Feb 1 18:01:59 CET 2011


On Tuesday 01 February 2011 08:11:51 Stefano Babic wrote:
> On 11/29/2010 03:18 PM, Marek Vasut wrote:
> > Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> 
> Hi Marek,
> 
> in my regression tests to check if all IMX boards are compiled clean I
> found the following warnings (efikamx):
> 
> mxc_ata.c:90: warning: 'pio_t0' defined but not used
> mxc_ata.c:93: warning: 'pio_t2_16' defined but not used
> mxc_ata.c:94: warning: 'pio_t2i' defined but not used
> 
> As I have already merged your patch into u-boot-imx (and Albert has
> already merged it in u-boot-arm), I will post a patch on top of it to
> remove them. Anyway, have you expected that these three variables are
> not used at all ? Could I remove them ?

Yes, you can remove them. They are unused in the original freescale driver too, 
stupid sed-mistake.

Thanks for the good catch :)

> 
> Regards,
> Stefano


More information about the U-Boot mailing list