diff --git a/cmd/booti.c b/cmd/booti.c index dbcd84a..a132949 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -42,7 +42,7 @@ static int booti_start(cmd_tbl_t *cmdtp, int flag, int argc, if (ret != 0) return 1; -#ifdef CONFIG_IMX_HAB +#if defined(CONFIG_IMX_HAB) && !defined(CONFIG_AVB_SUPPORT) extern int authenticate_image( uint32_t ddr_start, uint32_t raw_image_size); if (authenticate_image(ld, image_size) != 0) {