summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/mx7dsabresdbrillo_defconfig2
-rw-r--r--include/configs/mx7dsabresdbrillo.h13
2 files changed, 14 insertions, 1 deletions
diff --git a/configs/mx7dsabresdbrillo_defconfig b/configs/mx7dsabresdbrillo_defconfig
index 438fc3b..59eb4e1 100644
--- a/configs/mx7dsabresdbrillo_defconfig
+++ b/configs/mx7dsabresdbrillo_defconfig
@@ -1,4 +1,4 @@
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg,MX7D,ANDROID_SUPPORT,BRILLO_SUPPORT,EFI_PARTITION,FSL_BOOTCTL"
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg,MX7D,ANDROID_SUPPORT,BRILLO_SUPPORT,EFI_PARTITION,AVB_SUPPORT"
CONFIG_ARM=y
CONFIG_TARGET_MX7DSABRESD=y
CONFIG_SYS_MALLOC_F=y
diff --git a/include/configs/mx7dsabresdbrillo.h b/include/configs/mx7dsabresdbrillo.h
index 0d939f9..b0a5c38 100644
--- a/include/configs/mx7dsabresdbrillo.h
+++ b/include/configs/mx7dsabresdbrillo.h
@@ -20,6 +20,8 @@
#endif
#endif
+#define FASTBOOT_ENCRYPT_LOCK
+
#define CONFIG_FSL_CAAM_KB
#define CONFIG_SHA1
#define CONFIG_SHA256
@@ -41,5 +43,16 @@
#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_EXT4
+#ifdef CONFIG_AVB_SUPPORT
+#define CONFIG_SUPPORT_EMMC_RPMB
+/* fuse bank size in word */
+/* infact 7D have no enough bits
+ * set this size to 0 will disable
+ * program/read FUSE */
+#define CONFIG_AVB_FUSE_BANK_SIZEW 0
+#define CONFIG_AVB_FUSE_BANK_START 0
+#define CONFIG_AVB_FUSE_BANK_END 0
+#endif
+
#endif