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:
Spencer Oliver 2010-07-16 17:01:32 +01:00
parent 8f5e84bf8d
commit 0345667642
1 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,8 @@ COMMAND_HANDLER(handle_nand_probe_command)
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)
{