MA-11715 [Android] Correct macro name in precompiled condition
authorLuo Ji <ji.luo@nxp.com>
Wed, 11 Apr 2018 13:23:10 +0000 (21:23 +0800)
committerLuo Ji <ji.luo@nxp.com>
Thu, 12 Apr 2018 02:39:10 +0000 (10:39 +0800)
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 <ji.luo@nxp.com>
lib/avb/fsl/fsl_avbkey.c

index 9ad69c1..28a96ea 100644 (file)
@@ -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