nand: nand probe also outputs manufacturer
The nand probe now outputs the manufacturer if found. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
parent
8f5e84bf8d
commit
0345667642
|
@ -147,7 +147,8 @@ COMMAND_HANDLER(handle_nand_probe_command)
|
||||||
|
|
||||||
if ((retval = nand_probe(p)) == ERROR_OK)
|
if ((retval = nand_probe(p)) == ERROR_OK)
|
||||||
{
|
{
|
||||||
command_print(CMD_CTX, "NAND flash device '%s' found", p->device->name);
|
command_print(CMD_CTX, "NAND flash device '%s (%s)' found",
|
||||||
|
p->device->name, p->manufacturer->name);
|
||||||
}
|
}
|
||||||
else if (retval == ERROR_NAND_OPERATION_FAILED)
|
else if (retval == ERROR_NAND_OPERATION_FAILED)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue