[U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

Scott Wood scottwood at freescale.com
Thu Oct 3 00:03:17 CEST 2013


On Wed, 2013-10-02 at 14:40 +0000, Gupta, Pekon wrote:
> Hi,
> 
> Please see last set of queries inline..
> 
> > From: Scott Wood [mailto:scottwood at freescale.com]
> > > On Sat, 2013-09-28 at 06:24 +0000, Gupta, Pekon wrote:
> > > > From: Scott Wood [mailto:scottwood at freescale.com]
> > > > > On Fri, 2013-09-27 at 04:18 +0000, Gupta, Pekon wrote:
> [snip]
> > > >
> > > (1) drivers/mtd/nand/fsl_ifc_spl.c
> > > (2) drivers/mtd/nand/fsl_elbc_spl.c
> > > So CONFIG_SYS_NAND_DEVICE_WIDTH should help them also. right ?
> > 
> > How would it help?
> > 
> I meant, instead of requiring the modification in board file,
> CONFIG_SPL_DEVICE_WIDTH can be put in include/configs/*.h

Those registers are already specified in include/configs/*.h for
eLBC/IFC.

> > > So can this new CONFIG_xx be accepted ?
> > 
> > Only for SPL usage.
> > 
> Ok. so should I rename to CONFIG_SPL_NAND_DEVICE_WIDTH ?

In theory yes, though the other similar SPL NAND parameters use
CONFIG_SYS.

-Scott





More information about the U-Boot mailing list