summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorAlexandre Pereira da Silva <aletes.xgr@gmail.com>2011-03-29 16:19:47 -0300
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-30 08:04:15 +0200
commit56f705525cd64b78d34edc3012790ecf01025073 (patch)
treef2f2f4ab48107754d06ff37ed602e8758dc7f8d3 /src/flash
parent54ec0c4a8a215cfc636d93ff8f99fe5d003d6f66 (diff)
downloadopenocd+libswd-56f705525cd64b78d34edc3012790ecf01025073.tar.gz
openocd+libswd-56f705525cd64b78d34edc3012790ecf01025073.tar.bz2
openocd+libswd-56f705525cd64b78d34edc3012790ecf01025073.tar.xz
openocd+libswd-56f705525cd64b78d34edc3012790ecf01025073.zip
Clarify LPC32XX address cycles message
Hi, This is a more descriptive message about LPC32XX error, when the nand chip needs 5 address cycles. Thanks.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nand/lpc32xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand/lpc32xx.c b/src/flash/nand/lpc32xx.c
index 5cde90c4..963dd131 100644
--- a/src/flash/nand/lpc32xx.c
+++ b/src/flash/nand/lpc32xx.c
@@ -215,7 +215,7 @@ static int lpc32xx_init(struct nand_device *nand)
nand->bus_width = bus_width;
if ((address_cycles != 3) && (address_cycles != 4)) {
- LOG_ERROR("LPC32xx driver doesn't support %i", address_cycles);
+ LOG_ERROR("LPC32xx driver doesn't support %i address cycles", address_cycles);
return ERROR_NAND_OPERATION_NOT_SUPPORTED;
}