Commit 4ce19a38965ec4ea3addff41cf922b002d1a1cf3

Authored by Ji Luo
1 parent 054d5041b0

MA-13682 Don't include hard-code public key for Auto

This will reduce some image size for Android Auto.

Test: build and boot on imx8qm_mek.

Change-Id: I023801a542f83398126d5af23c0a1eb2080c5063
Signed-off-by: Ji Luo <ji.luo@nxp.com>

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

lib/avb/fsl/fsl_avb.c
... ... @@ -16,7 +16,9 @@
16 16 #include "utils.h"
17 17 #include "debug.h"
18 18 #include "trusty/avb.h"
  19 +#if !defined(CONFIG_IMX_TRUSTY_OS) || !defined(CONFIG_ANDROID_AUTO_SUPPORT)
19 20 #include "fsl_public_key.h"
  21 +#endif
20 22 #include "fsl_atx_attributes.h"
21 23  
22 24 #define FSL_AVB_DEV "mmc"