hikey960: Enable verity for hikey960 am: a2106d17f7
am: 413af4fdc1
Change-Id: I798b64bfb1a4eb661923e86c2babe2d086fd25d9
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