scripts: fit: update rollback-index error msg

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I721c9c262fa8683d75f7d2413b6fecfcdf0cb28c
This commit is contained in:
Joseph Chen 2020-04-13 19:48:07 +08:00
parent 0a7542b5fd
commit 30374393f3
1 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ function fit_uboot_make_itb()
if grep -q '^CONFIG_SPL_FIT_ROLLBACK_PROTECT=y' .config ; then
SPL_ROLLBACK_PROTECT="y"
if [ -z $ARG_ROLLBACK_IDX_UBOOT ]; then
echo "ERROR: No args \"--rollback-index-uboot <n>\""
echo "ERROR: No args \"--rollback-index <n>\""
exit 1
fi
fi
@ -256,7 +256,7 @@ function fit_boot_make_itb()
if grep -q '^CONFIG_FIT_ROLLBACK_PROTECT=y' .config ; then
ROLLBACK_PROTECT="y"
if [ -z $ARG_ROLLBACK_IDX_BOOT ]; then
echo "ERROR: No args \"--rollback-index-boot <n>\""
echo "ERROR: No args \"--rollback-index <n>\""
exit 1
fi
fi