From: Alexandre Pereira da Silva Date: Tue, 29 Mar 2011 19:19:47 +0000 (-0300) Subject: Clarify LPC32XX address cycles message X-Git-Tag: v0.5.0-rc1~121 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56f705525cd64b78d34edc3012790ecf01025073;p=openocd Clarify LPC32XX address cycles message Hi, This is a more descriptive message about LPC32XX error, when the nand chip needs 5 address cycles. Thanks. --- 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; }