[U-Boot] [PATCH v2] arm: ls102xa: Add QSPI boot support for LS1021AQDS/TWR board

Huan Wang alison.wang at freescale.com
Wed Dec 10 03:30:16 CET 2014


Hi, York,

> On 12/09/2014 01:38 AM, Alison Wang wrote:
> > This patch adds QSPI boot support for LS1021AQDS/TWR board.
> > The QSPI boot image need to be programmed into the QSPI flash first.
> > Then the booting will start from QSPI memory space.
> >
> > Signed-off-by: Alison Wang <alison.wang at freescale.com>
> > ---
> > Change log:
> >  v2: Rebase the patch.
> >
> 
> <snip>
> 
> > diff --git a/include/configs/ls1021aqds.h
> > b/include/configs/ls1021aqds.h index 6a6f620..653dbef 100644
> > --- a/include/configs/ls1021aqds.h
> > +++ b/include/configs/ls1021aqds.h
> 
> <snip>
> 
> > @@ -315,7 +334,11 @@
> >  #define CONFIG_CMDLINE_TAG
> >  #define CONFIG_CMDLINE_EDITING
> >
> > +#ifdef CONFIG_QSPI_BOOT
> > +#undef CONFIG_CMD_IMLS
> > +#else
> >  #define CONFIG_CMD_IMLS
> > +#endif
> >
> Is it necessary to undef?
> 
[Alison Wang] It is necessary, because this file includes "include/config_cmd_default.h". In include/config_cmd_default.h, CONFIG_CMD_IMLS is defined.

Thanks.


Best Regards,
Alison Wang


More information about the U-Boot mailing list