[PATCH v6 2/3] mtd: add the support to parse out the full-id nand type

2013-03-14 Thread Huang Shijie
When we meet a full-id nand type whose @id_len is not zero, we can use the find_full_id_nand() to parse out the necessary information for a nand chip. If we meet a non full-id nand type, we can handle it in the legacy way. Signed-off-by: Huang Shijie --- drivers/mtd/nand/nand_base.c | 35

[PATCH v6 2/3] mtd: add the support to parse out the full-id nand type

2013-03-14 Thread Huang Shijie
When we meet a full-id nand type whose @id_len is not zero, we can use the find_full_id_nand() to parse out the necessary information for a nand chip. If we meet a non full-id nand type, we can handle it in the legacy way. Signed-off-by: Huang Shijie b32...@freescale.com ---