From f269c7e952a4c0e2ab4c185d34d2479944c4e33b Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Wed, 2 Dec 2020 10:17:19 +0800 Subject: [PATCH] scripts: fit.sh: remove unused property but not initial as 0 Signed-off-by: Joseph Chen Change-Id: I3af669575ae53cd7cc72e307a07057a95b3b8955 --- scripts/fit.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/fit.sh b/scripts/fit.sh index 3b5da371f9..676c703ca2 100755 --- a/scripts/fit.sh +++ b/scripts/fit.sh @@ -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