]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: add the support to parse out the full-id nand type
authorHuang Shijie <b32955@freescale.com>
Fri, 15 Mar 2013 03:01:00 +0000 (11:01 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:20:42 +0000 (13:20 +0100)
commitec6e87e378e209fda3eb4dfdf3c6164afb5cc7f5
treedf0472ecd029386423342cb95bd68500ab553b08
parentf22d5f638b0ea40e7cceb4639a608bd2c3eff97c
mtd: add the support to parse out the full-id nand type

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 <b32955@freescale.com>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c