[U-Boot] [PATCH 2/4] mtd/nand: Fixup for support ONFI detect

Scott Wood scottwood at freescale.com
Fri Dec 2 19:32:08 CET 2011


On 12/02/2011 03:17 AM, Shengzhou Liu wrote:
> There was a bug logically in the order of nand_flash_detect_onfi
> and checking nand_flash_ids. We should get NAND devices related
> informations first by ONFI method instead of querying nand_flash_ids table,
> if ONFI fails, then query nand_flash_ids table.

ONFI issues should be taken care of with the patchset to sync NAND with
Linux that was recently posted.  It has some minor issues, which
hopefully will be addressed by the next merge window.

I disagree that we should check ONFI first -- this is not what Linux
does.  U-Boot's problem is that it aborts before ever checking ONFI, if
the device is not found in the table (and the Linux code suggests that
ONFI devices won't be found in the table).

-Scott



More information about the U-Boot mailing list