]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: change the location of the ONFI detected log
authorHuang Shijie <b32955@freescale.com>
Fri, 17 Feb 2012 03:22:37 +0000 (11:22 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:38:37 +0000 (00:38 +0100)
commit31fbee521168115d995ace5ac176540bb3fc5b26
tree0b121a7455b5ca3a64aad262cb2c01be5f69ee17
parent87a981793160dd72272dce1d45d606ffeee3b343
mtd: change the location of the ONFI detected log

Some strange nand chip(such as Hynix H27UBG8T2A) can pass the `ONFI` signature
check. So the log can be printed out even it is not an ONFI nand indeed.

Change this log to the end of the function. Print out the log only when we
really detect an ONFI nand.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Acked-by: Florian Fainelli <ffainelli@freebox.fr>
Acked-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