From 0345667642e13ef2c78dc904677541d2b935d831 Mon Sep 17 00:00:00 2001
From: Spencer Oliver <ntfreak@users.sourceforge.net>
Date: Fri, 16 Jul 2010 17:01:32 +0100
Subject: nand: nand probe also outputs manufacturer

The nand probe now outputs the manufacturer if found.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
---
 src/flash/nand/tcl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/flash/nand/tcl.c b/src/flash/nand/tcl.c
index 592277e4..7b848880 100644
--- a/src/flash/nand/tcl.c
+++ b/src/flash/nand/tcl.c
@@ -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)
 	{
-- 
cgit v1.2.3