Commit 79979ad54e75c13752612e3e01578ff2be2694ed

Authored by Luo Ji
1 parent 0628282072

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 <ji.luo@nxp.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

lib/avb/fsl/fsl_avbkey.c
... ... @@ -42,7 +42,7 @@
42 42 #define RESULT_ERROR -1
43 43 #define RESULT_OK 0
44 44  
45   -#if !defined(CONFIG_FSL_CAAM_KB) || !defined(ANDROID_AB_SUPPORT)
  45 +#if !defined(CONFIG_FSL_CAAM_KB) || !defined(CONFIG_ANDROID_AB_SUPPORT)
46 46 /* ARM64 won't avbkey and rollback index in this stage directly. */
47 47 /* For legacy imx6/7, we won't enable A/B due to the limitation of
48 48 * storage capacity, but we still want to verify the boot/recovery