summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
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 b605e9492b3..e7039b753fc 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) {