From b4d9c7399b6c965b458cf1d72c85fc550877fdb8 Mon Sep 17 00:00:00 2001 From: Neeraj Soni Date: Wed, 28 Jun 2017 18:00:15 +0530 Subject: [PATCH] falcon_64: Enable HW FDE Change-Id: Ia2df51964a477b08cde9a2b0a591fd93141a1678 Signed-off-by: Neeraj Soni --- BoardConfig.mk | 9 +-------- init.target.rc | 2 +- sdm660_64.mk | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 3cba75fe..9d975504 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -19,13 +19,6 @@ TARGET_2ND_CPU_ABI := armeabi-v7a TARGET_2ND_CPU_ABI2 := armeabi TARGET_2ND_CPU_VARIANT := cortex-a53 -ifeq ($(TARGET_USES_AOSP), true) - TARGET_HW_DISK_ENCRYPTION := false -else - #Enable HW based full disk encryption - TARGET_HW_DISK_ENCRYPTION := true -endif - TARGET_NO_BOOTLOADER := false TARGET_USES_UEFI := true TARGET_NO_KERNEL := false @@ -130,7 +123,7 @@ TARGET_COMPILE_WITH_MSM_KERNEL := true TARGET_PD_SERVICE_ENABLED := true #Enable HW based full disk encryption -#TARGET_HW_DISK_ENCRYPTION := true +TARGET_HW_DISK_ENCRYPTION := true TARGET_CRYPTFS_HW_PATH := device/qcom/common/cryptfs_hw diff --git a/init.target.rc b/init.target.rc index 1df32a79..6a55ebea 100755 --- a/init.target.rc +++ b/init.target.rc @@ -55,7 +55,7 @@ on fs on post-fs start qseecomd - exec - root root root -- /system/bin/init.qti.qseecomd.sh + exec - system system -- /vendor/bin/init.qti.qseecomd.sh write /dev/ipa 1 on init diff --git a/sdm660_64.mk b/sdm660_64.mk index 62b4b56d..b871f538 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -188,7 +188,7 @@ PRODUCT_COPY_FILES += \ # FBE support PRODUCT_COPY_FILES += \ - device/qcom/sdm660_64/init.qti.qseecomd.sh:system/bin/init.qti.qseecomd.sh + device/qcom/sdm660_64/init.qti.qseecomd.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qti.qseecomd.sh # MSM IRQ Balancer configuration file PRODUCT_COPY_FILES += device/qcom/sdm660_64/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf