sm6150-common: Make trust use dwc3 usb_data_enabled

Change-Id: I8fab94faf383c57e872596f8bb3c448afc6d75de
This commit is contained in:
LuK1337 2022-03-23 20:42:28 +01:00 committed by Arian
parent 6c5731d55c
commit b2babf0134
2 changed files with 8 additions and 0 deletions

View File

@ -144,6 +144,11 @@ include device/qcom/sepolicy_vndr-legacy-um/SEPolicy.mk
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
# Trust
TARGET_TRUST_USB_CONTROL_PATH := /sys/devices/platform/soc/a600000.ssusb/usb_data_enabled
TARGET_TRUST_USB_CONTROL_ENABLE := 0
TARGET_TRUST_USB_CONTROL_DISABLE := 1
# Verified Boot # Verified Boot
BOARD_AVB_ENABLE := true BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3 BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3

View File

@ -57,3 +57,6 @@ genfscon sysfs /devices/platform/soc/soc:maxim_ds28e16/power_supply/batt_verify/
# Power # Power
genfscon proc /sys/kernel/sched_energy_aware u:object_r:proc_sched_energy_aware:s0 genfscon proc /sys/kernel/sched_energy_aware u:object_r:proc_sched_energy_aware:s0
# USB
genfscon sysfs /devices/platform/soc/a600000.ssusb/usb_data_enabled u:object_r:sysfs_usb_data_enabled:s0