From dd8da08d28fd75168cba578c82146550dca82e05 Mon Sep 17 00:00:00 2001 From: Luo Ji Date: Wed, 11 Apr 2018 21:23:10 +0800 Subject: 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(-) (limited to 'lib') 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 -- cgit v1.2.3