hikey960: Enable verity for hikey960
Bug: None
Test: Boot with verity enabled for system and vendor.
Change-Id: Iaf52f6f5c9258498c67789ffffc650a54382e21c
Signed-off-by: Sandeep Patil <sspatil@google.com>
diff --git a/hikey960.mk b/hikey960.mk
index 1b9799b..3666ec3 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -17,6 +17,13 @@
$(call inherit-product, device/linaro/hikey/device-common.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
+#setup dm-verity configs
+PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/platform/soc/ff3b0000.ufs/by-name/system
+PRODUCT_VENDOR_VERITY_PARTITION := /dev/block/platform/soc/ff3b0000.ufs/by-name/vendor
+$(call inherit-product, build/target/product/verity.mk)
+PRODUCT_SUPPORTS_BOOT_SIGNER := false
+PRODUCT_SUPPORTS_VERITY_FEC := false
+
#
# Overrides
PRODUCT_NAME := hikey960