
Hi Mike,
On Mon, Jan 3, 2011 at 11:35 PM, Mike Frysinger vapier@gentoo.org wrote:
On Mon, Jan 3, 2011 at 10:06 AM, Lei Wen leiwen@marvell.com wrote:
This patch sync with newest mtd code in Linux on handling nand_scan_ident.
is there any point to the sync ? doesnt seem like anyone is using the new option.
This patch sync with David's patch on Linux. commit 5e81e88a4c140586d9212999cea683bcd66a15c6 Author: David Woodhouse David.Woodhouse@intel.com Date: Fri Feb 26 18:32:56 2010 +0000
mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()
Signed-off-by: David Woodhouse David.Woodhouse@intel.com
Yes, for this time uboot's code hasn't used this kind of code. But this prepare for my submition of pxa3xx_nand.c code in the next several weeks, which need this patch in advance.
--- a/drivers/mtd/nand/nand_ids.c +++ b/drivers/mtd/nand/nand_ids.c -const struct nand_flash_dev nand_flash_ids[] = { +struct nand_flash_dev nand_flash_ids[] = {
this is wrong
This would bring warning to the compilation, and it is also what Linux does now for the same code...
Best regards, Lei