diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-07-16 17:01:32 +0100 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-07-19 09:10:55 +0100 |
commit | 0345667642e13ef2c78dc904677541d2b935d831 (patch) | |
tree | 8c81b6d4ff7d8e8eafb86d07e6b8a48dc48526e6 /src/flash | |
parent | 8f5e84bf8dabfddc6b853c522fdc29be90c93746 (diff) | |
download | openocd+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.c | 3 |
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) { |