From 79979ad54e75c13752612e3e01578ff2be2694ed Mon Sep 17 00:00:00 2001 From: Luo Ji Date: Wed, 11 Apr 2018 21:23:10 +0800 Subject: [PATCH] MA-11715 [Android] Correct macro name in precompiled condition Correct macro name from 'ANDROID_AB_SUPPORT' to 'CONFIG_ANDROID_AB_SUPPORT' or some target(e.g. imx7d_pico) will build fail. Change-Id: I08082b4757175dac0455cc62c31834dffc5c7401 Signed-off-by: Luo Ji --- lib/avb/fsl/fsl_avbkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/avb/fsl/fsl_avbkey.c b/lib/avb/fsl/fsl_avbkey.c index 9ad69c19c5..28a96ea5be 100644 --- a/lib/avb/fsl/fsl_avbkey.c +++ b/lib/avb/fsl/fsl_avbkey.c @@ -42,7 +42,7 @@ #define RESULT_ERROR -1 #define RESULT_OK 0 -#if !defined(CONFIG_FSL_CAAM_KB) || !defined(ANDROID_AB_SUPPORT) +#if !defined(CONFIG_FSL_CAAM_KB) || !defined(CONFIG_ANDROID_AB_SUPPORT) /* ARM64 won't avbkey and rollback index in this stage directly. */ /* For legacy imx6/7, we won't enable A/B due to the limitation of * storage capacity, but we still want to verify the boot/recovery -- 2.17.1