scripts: fit.sh: remove unused property but not initial as 0

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I3af669575ae53cd7cc72e307a07057a95b3b8955
This commit is contained in:
Joseph Chen 2020-12-02 10:17:19 +08:00 committed by Jianhong Chen
parent b6ea0cb4ad
commit f269c7e952
1 changed files with 10 additions and 10 deletions

View File

@ -280,14 +280,14 @@ function fit_gen_uboot_itb()
if grep -q '^CONFIG_SPL_FIT_HW_CRYPTO=y' .config ; then
fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,r-squared 0x0
if grep -q '^CONFIG_SPL_ROCKCHIP_CRYPTO_V1=y' .config ; then
fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
fdtput -d ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,np
else
fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
fdtput -d ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,c
fi
else
fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
fdtput -d ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,c
fdtput -d ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,np
fdtput -d ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN
fi
# repack spl
@ -385,14 +385,14 @@ function fit_gen_boot_itb()
if grep -q '^CONFIG_FIT_HW_CRYPTO=y' .config ; then
fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,r-squared 0x0
if grep -q '^CONFIG_ROCKCHIP_CRYPTO_V1=y' .config ; then
fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
fdtput -d ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,np
else
fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
fdtput -d ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,c
fi
else
fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
fdtput -d ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,c
fdtput -d ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,np
fdtput -d ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN
fi
fi