Skip to content
Commit d42b5de3 authored by Huang Shijie's avatar Huang Shijie Committed by David Woodhouse
Browse files

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: default avatarHuang Shijie <b32955@freescale.com>
Acked-by: default avatarFlorian Fainelli <ffainelli@freebox.fr>
Acked-by: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 921de864
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment