[U-Boot] [PATCH] NAND: MXS: include common.h first so cache.h is included in correct order

Tom Warren TWarren at nvidia.com
Mon Sep 10 22:20:58 CEST 2012


Marek/Simon,

> -----Original Message-----
> From: Marek Vasut [mailto:marex at denx.de]
> Sent: Monday, September 10, 2012 9:19 AM
> To: Tom Warren; sjg at chromium.org
> Cc: u-boot at lists.denx.de; scottwood at freescale.com; Tom Warren;
> sbabic at denx.de
> Subject: Re: [PATCH] NAND: MXS: include common.h first so cache.h is
> included in correct order
> 
> Dear Tom Warren,
> 
> > With Simon Glass's include/nand.h alignment changes, some mxs builds
> > were generating errors. Fix is to ensure asm/cache.h is included
> > before linux/mtd/nand.h. Moving common.h to top of include list does that.
> >
> > Signed-off-by: Tom Warren <twarren at nvidia.com>
> 
> Acked-by: Marek Vasut <marex at denx.de>
Thanks. Applied to u-boot-tegra/next and pushed. I'll be moving /next to /master today or tomorrow and sending a new pull request to Albert to clear the decks for T30 support.

Tom
> 
> Ccing Stefano.
> 
> > ---
> >  drivers/mtd/nand/mxs_nand.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c
> > index bf9414f..4701be8 100644
> > --- a/drivers/mtd/nand/mxs_nand.c
> > +++ b/drivers/mtd/nand/mxs_nand.c
> > @@ -25,10 +25,10 @@
> >   * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> >   */
> >
> > +#include <common.h>
> >  #include <linux/mtd/mtd.h>
> >  #include <linux/mtd/nand.h>
> >  #include <linux/types.h>
> > -#include <common.h>
> >  #include <malloc.h>
> >  #include <asm/errno.h>
> >  #include <asm/io.h>
> 
> Best regards,
> Marek Vasut
-- 
nvpublic


More information about the U-Boot mailing list