sm6150-common: Make trust use dwc3 usb_data_enabled
Change-Id: I8fab94faf383c57e872596f8bb3c448afc6d75de
This commit is contained in:
parent
6c5731d55c
commit
b2babf0134
@ -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
|
||||||
|
3
sepolicy/vendor/genfs_contexts
vendored
3
sepolicy/vendor/genfs_contexts
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user