]> git.sur5r.net Git - openocd/commitdiff
Clarify LPC32XX address cycles message
authorAlexandre 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

index 5cde90c490d8563ff0043191a36841b91ba3ad35..963dd13120a19f0735b99c29a3aef2b324cca7c6 100644 (file)
@@ -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;
        }