summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-07-16 17:01:32 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-07-19 09:10:55 +0100
commit0345667642e13ef2c78dc904677541d2b935d831 (patch)
tree8c81b6d4ff7d8e8eafb86d07e6b8a48dc48526e6 /src/flash
parent8f5e84bf8dabfddc6b853c522fdc29be90c93746 (diff)
downloadopenocd+libswd-0345667642e13ef2c78dc904677541d2b935d831.tar.gz
openocd+libswd-0345667642e13ef2c78dc904677541d2b935d831.tar.bz2
openocd+libswd-0345667642e13ef2c78dc904677541d2b935d831.tar.xz
openocd+libswd-0345667642e13ef2c78dc904677541d2b935d831.zip
nand: nand probe also outputs manufacturer
The nand probe now outputs the manufacturer if found. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nand/tcl.c3
1 files changed, 2 insertions, 1 deletions
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)
{