[U-Boot] [PATCH] NAND: add Samsung K9LBG08UXD identifier

Scott Wood scottwood at freescale.com
Mon Jul 19 22:22:01 CEST 2010


On Mon, Jul 19, 2010 at 09:05:05PM +0800, Lei Wen wrote:
> Rebased version for this nand chip has one problem in detecting its
> page size using in nand_base.c.
> If we set page size 0 in nand_ids.c, we would get the calculation
> result as page size 2048, while the true page size is 4096.

Is the ID data bad, or is there a bug in nand_get_flash_type(), or is it
some new ID format that needs support?

> I think it is reasonable to set the 32Gigabit nand as 4k page by
> default, as all nand been product in this size has
> more than 4k page.

"more than"?  Are there larger page size NANDs out there?

And if so, wouldn't hard-coding the page size at 4096 bytes be a problem?

Is there zero possibility that a 2k page NAND in this size could be made in
the future (e.g. for compatibility with controllers that don't support 4k
pages)?

-Scott



More information about the U-Boot mailing list