Browse Source

Clarify LPC32XX address cycles message

Hi,

This is a more descriptive message about LPC32XX error, when the nand
chip needs 5 address cycles.

Thanks.
tags/v0.5.0-rc1
Alexandre Pereira da Silva 11 years ago
committed by Øyvind Harboe
parent
commit
56f705525c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/flash/nand/lpc32xx.c

+ 1
- 1
src/flash/nand/lpc32xx.c View 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;
}



Loading…
Cancel
Save