[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 Sep 26 21:29:42 CEST 2013


On Thu, 2013-09-26 at 13:14 +0000, Gupta, Pekon wrote:
> > > From: Gupta, Pekon <pekon at ti.com>
> > >
> > > NAND driver needs to know bus-width of the connected NAND device, in
> > order to perform proper I/O and initialize itself. Currently there is no CONFIG
> > option to provide this information to NAND driver.
> > > - SPL NAND driver does not have framework to parse ONFI parameter
> > page.
> > 
> > Is this about SPL?  It looks like a more general change.
> > 
> Yes, actually I would have loved to see a generic SPL driver for all platforms,

How could that possibly work?

> because SPL is mostly statically configured, and it just does plain NAND read
> (it doesn’t even support NAND write, etc).
> But I do not know the hardware configurations tweaks of other SoC,
> So at-least have common CONFIG_SYS_NAND_xx which all SPL drivers can use.

Again, are you introducing this symbol for use only in SPL?  It looked
like you were removing the code that does dynamic detection, which would
also affect non-SPL.

-Scott





More information about the U-Boot mailing list