summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2018-08-23 12:14:41 +0800
committerfaqiang.zhu <faqiang.zhu@nxp.com>2018-11-12 09:18:38 +0800
commit17a0dd7344e1495338258659ef060cf0aaa1ac8b (patch)
treeefe13a4f2462116204e79dcfd9d41b6d45356751 /cmd
parent40e0de680beb323f0dcfcf18154a3c0bb54b26b5 (diff)
[iot] Enable HAB for imx8m
Enable HAB for imx8m Android Things platform, this will enable HAB verify for bootloader.img(atf+tee+u-boot) at spl stage. Disable the HAB verify for bootimg because we will use AVB to verify it. Test: Build and boot ok on AIY. Change-Id: Ia6ee456c7c5fa71afc3740689adf898f411c6c4e Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/booti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/booti.c b/cmd/booti.c
index b605e9492b..e7039b753f 100644
--- a/cmd/booti.c
+++ b/cmd/booti.c
@@ -44,7 +44,7 @@ static int booti_start(cmd_tbl_t *cmdtp, int flag, int argc,
if (ret != 0)
return 1;
-#ifdef CONFIG_SECURE_BOOT
+#if defined(CONFIG_SECURE_BOOT) && !defined(CONFIG_AVB_SUPPORT)
extern int authenticate_image(
uint32_t ddr_start, uint32_t raw_image_size);
if (authenticate_image(ld, image_size) != 0) {