Commit 21a1c6ec authored by Antonio Borneo's avatar Antonio Borneo Committed by Øyvind Harboe
Browse files

NAND/TCL: fix segfault on syntax error

Fix segfault if incomplete command "nand device dummy"
is executed.

Signed-off-by: default avatarAntonio Borneo <>
parent 7bb79f0f
......@@ -572,7 +572,7 @@ static COMMAND_HELPER(create_nand_device, const char *bank_name,
if (CMD_ARGC < 1)
if (CMD_ARGC < 2)
LOG_ERROR("incomplete nand device configuration");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment