cmd: bootuimage: update return code

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I9bd10b448b409fe9e74c7b4c56f5ec7ec3cd4a85
This commit is contained in:
Joseph Chen 2020-04-10 10:19:17 +08:00
parent b72261dd0f
commit 36c668870e
1 changed files with 3 additions and 3 deletions

View File

@ -93,12 +93,12 @@ static int do_boot_uimage(cmd_tbl_t *cmdtp, int flag,
if (ret && argc != 1) {
uimage_sysmem_free_each(img, ramdisk_sz);
ret = -1;
goto out;
}
return ret;
return CMD_RET_SUCCESS;
out:
return -1;
return CMD_RET_FAILURE;
}
U_BOOT_CMD(