summaryrefslogtreecommitdiff
path: root/include/configs/imx8mq_aiy_android.h
diff options
context:
space:
mode:
authorzhang sanshan <pete.zhang@nxp.com>2019-04-23 12:43:17 +0800
committerzhang sanshan <pete.zhang@nxp.com>2019-04-23 16:53:37 +0800
commit1248a36d87a882f6adc658c62836166bbf24f7cd (patch)
tree399d4ffc9463c0d3dc944ab6a1e6c0cf90448d45 /include/configs/imx8mq_aiy_android.h
parentdd556ebf3e4aabb6c724a6f6941973ece88ad8a5 (diff)
MA-14651-2 add dependence between CONFIG_ANDROID_AB_SUPPORT and CONFIG_SYSTEM_RAMDISK_SUPPORT
system can't enable CONFIG_SYSTEM_RAMDISK_SUPPORT in non-AB system. boot.img have normal boot kernel and recovery ramdisk. So ota can't update boot.img in both normal boot and recovery mode. Change-Id: I137b098ba58e4fbd97105382903683e6713b8b29 Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
Diffstat (limited to 'include/configs/imx8mq_aiy_android.h')
-rw-r--r--include/configs/imx8mq_aiy_android.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/imx8mq_aiy_android.h b/include/configs/imx8mq_aiy_android.h
index 5b5a86c2c5..ee269a5f60 100644
--- a/include/configs/imx8mq_aiy_android.h
+++ b/include/configs/imx8mq_aiy_android.h
@@ -11,7 +11,9 @@
#define CONFIG_ANDROID_AB_SUPPORT
#define CONFIG_SUPPORT_EMMC_RPMB
+#ifdef CONFIG_ANDROID_AB_SUPPORT
#define CONFIG_SYSTEM_RAMDISK_SUPPORT
+#endif
#define CONFIG_AVB_FUSE_BANK_SIZEW 4
#define CONFIG_AVB_FUSE_BANK_START 14
#define CONFIG_AVB_FUSE_BANK_END 14