summaryrefslogtreecommitdiff
path: root/common/store_interface.c
diff options
context:
space:
mode:
authorSam Wu <yihui.wu@amlogic.com>2018-12-10 15:03:08 +0800
committerDongjin Kim <tobetter@gmail.com>2018-12-28 11:45:04 +0900
commit6aa28efc36793f281b435acf4f3c157bf62eb095 (patch)
tree7520121bf8c8c9660b1f58707cfb23666dd06a75 /common/store_interface.c
parentb1842a0d70f9d22760459afd7c4f831de4d66433 (diff)
downloadu-boot-odroid-c1-6aa28efc36793f281b435acf4f3c157bf62eb095.tar.gz
factoryBurn: securebootv3: fix verify dtb failed[2/2]
PD#SWPL-1855 Problem: verify dtb failed due to 'store dtb iread' changed Solution: 'store dtb iread' is for read original undecrypted dtb.img limit v3 decrypt to only 'store dtb read' i.e, not decrypt when 'store dtb iread' Verify: test pass on gxl ref board. Change-Id: I077416b0886387f7a83f4b97cf71161e577e5db9
Diffstat (limited to 'common/store_interface.c')
-rw-r--r--common/store_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/store_interface.c b/common/store_interface.c
index 4a60db90f4..eb8508f5d2 100644
--- a/common/store_interface.c
+++ b/common/store_interface.c
@@ -320,6 +320,7 @@ static int do_store_dtb_ops(cmd_tbl_t * cmdtp, int flag, int argc, char * const
}
}
+ if (!is_write && strcmp("iread", argv[2]))
{
ulong nCheckOffset;
nCheckOffset = aml_sec_boot_check(AML_D_Q_IMG_SIG_HDR_SIZE,GXB_IMG_LOAD_ADDR,GXB_EFUSE_PATTERN_SIZE,GXB_IMG_DEC_ALL);