[U-Boot] [PATCH v2 2/2] mtd: nand: mxc_nand: Fix is_16bit_nand()

Eric Bénard eric at eukrea.com
Wed Feb 27 18:18:21 CET 2013


Hi Benoît and Fabio,

Le Wed, 27 Feb 2013 14:40:51 +0100 (CET),
Benoît Thébaudeau <benoit.thebaudeau at advansee.com> a écrit :
> On Wednesday, February 27, 2013 2:15:21 PM, Eric Bénard wrote:
> > Hi Benoît,
> > 
> > Le Wed, 27 Feb 2013 13:53:10 +0100 (CET),
> > Benoît Thébaudeau <benoit.thebaudeau at advansee.com> a écrit :
> > > 
> > > This code is not used for NAND boot, for which the SPL version of this
> > > driver
> > > and CONFIG_SYS_NAND_BUSWIDTH_16 are used.
> > > 
> > I didn't follow SPL migration (I have to come back to it so the next
> > question may be stupid sorry in advance) but once u-boot is running
> > isn't it using the "standard" driver and no more the SPL one ?
> 
> Yes, that's correct (unless you need to access NAND only from SPL). But if any
> board booting from NAND had a 16-bit NAND, CONFIG_SYS_NAND_BUSWIDTH_16 would
> have to be defined, which no board does, so none of these boards needs
> CONFIG_SYS_NAND_BUSWIDTH_16BIT either. And the rest of the explanation is what
> Fabio has just said.
> 
thanks to both of you for the details.

Eric


More information about the U-Boot mailing list