
Hi Eric,
On Wed, Feb 27, 2013 at 8:11 AM, Eric Bénard eric@eukrea.com wrote:
are you sure that your patch won't break current boards booting on nand flash (and so which can use the current functions to detect the nand width) ?
If a board is booting from NAND, then it is required that the boot jumpers are correctly set to specify NAND boot mode and the NAND type (8-bit versus 16-bit width, for example).
I revisited all the i.mx boards that use MXC_NAND driver and could not see anyone using 16-bit NAND (ie, no 16-bit NAND IOMUX setting), so it is safe to assume that all the current boards are using 8-bit width NAND.
If a board has 16-bit width NAND, then the boot jumpers need to reflect that and CONFIG_SYS_NAND_BUSWIDTH_16BIT must be specified in the config file.
So I don't envision any breakage here.
Regards,
Fabio Estevam