projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ec0c4
)
Clarify LPC32XX address cycles message
author
Alexandre Pereira da Silva
<aletes.xgr@gmail.com>
Tue, 29 Mar 2011 19:19:47 +0000
(16:19 -0300)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Wed, 30 Mar 2011 06:04:15 +0000
(08:04 +0200)
Hi,
This is a more descriptive message about LPC32XX error, when the nand
chip needs 5 address cycles.
Thanks.
src/flash/nand/lpc32xx.c
patch
|
blob
|
history
diff --git
a/src/flash/nand/lpc32xx.c
b/src/flash/nand/lpc32xx.c
index 5cde90c490d8563ff0043191a36841b91ba3ad35..963dd13120a19f0735b99c29a3aef2b324cca7c6 100644
(file)
--- 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;
}