diff options
author | Luo Ji <ji.luo@nxp.com> | 2018-04-11 21:23:10 +0800 |
---|---|---|
committer | Luo Ji <ji.luo@nxp.com> | 2018-04-12 10:19:02 +0800 |
commit | dd8da08d28fd75168cba578c82146550dca82e05 (patch) | |
tree | 6a5e7d2ff18c9a58a143bc8e8504863795ee5284 /lib | |
parent | 8bb891da9c633f0b838df6f07273275ee2a99b9d (diff) |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/avb/fsl/fsl_avbkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |