mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 04:04:44 +08:00
tools: imx8image: Add missing break for CMD_DCD_SKIP
The CMD_DCD_SKIP case misses a break statement.
Add it.
Fixes: 254c00803b
("tools: imx8image: add possibility to skip dcd")
Addresses-Coverity-ID: 514648: Control flow issues (MISSING_BREAK)
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
2bf2615b80
commit
3c417c79e0
@ -93,6 +93,7 @@ static void parse_cfg_cmd(image_t *param_stack, int32_t cmd, char *token,
|
||||
case CMD_DCD_SKIP:
|
||||
if (!strncmp("true", token, 4))
|
||||
dcd_skip = true;
|
||||
break;
|
||||
case CMD_FUSE_VERSION:
|
||||
fuse_version = (uint8_t)(strtoll(token, NULL, 0) & 0xFF);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user