aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nand/lpc32xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand/lpc32xx.c')
-rw-r--r--src/flash/nand/lpc32xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flash/nand/lpc32xx.c b/src/flash/nand/lpc32xx.c
index ffb322c2..addc323b 100644
--- a/src/flash/nand/lpc32xx.c
+++ b/src/flash/nand/lpc32xx.c
@@ -75,8 +75,7 @@ static dmac_ll_t dmalist[(2048/256) * 2 + 1];
NAND_DEVICE_COMMAND_HANDLER(lpc32xx_nand_device_command)
{
if (CMD_ARGC < 3) {
- LOG_WARNING("incomplete 'lpc32xx' nand flash configuration");
- return ERROR_FLASH_BANK_INVALID;
+ return ERROR_COMMAND_SYNTAX_ERROR;
}
uint32_t osc_freq;