USB: Use SW path for QDSS over USB
Set data path to SW instead of BAM for QDSS over USB for trinket.
And also set ro.boot.usb.dwc3_msm needed to decide role in
recovery mode for trinket.
Change-Id: I197dba65dfbbd9d1d7eb8c2d64525f665cc81662
diff --git a/vendor_product.mk b/vendor_product.mk
index 50ec37a..4b0a2cb 100644
--- a/vendor_product.mk
+++ b/vendor_product.mk
@@ -9,7 +9,7 @@
ifneq ($(filter bengal monaco trinket,$(TARGET_BOARD_PLATFORM)),)
PRODUCT_PROPERTY_OVERRIDES += vendor.usb.controller=4e00000.dwc3
- ifneq ($(filter bengal,$(TARGET_BOARD_PLATFORM)),)
+ ifneq ($(filter bengal trinket,$(TARGET_BOARD_PLATFORM)),)
PRODUCT_SYSTEM_PROPERTIES += ro.boot.usb.dwc3_msm=4e00000.ssusb
else
PRODUCT_SYSTEM_PROPERTIES += ro.boot.usb.dwc3_msm=4e00000.hsusb
@@ -19,7 +19,7 @@
endif
# QDSS uses SW path on these targets
-ifneq ($(filter lahaina taro bengal kalama monaco kona crow,$(TARGET_BOARD_PLATFORM)),)
+ifneq ($(filter lahaina taro bengal kalama monaco kona crow trinket,$(TARGET_BOARD_PLATFORM)),)
PRODUCT_PROPERTY_OVERRIDES += vendor.usb.qdss.inst.name=qdss_sw
else
PRODUCT_PROPERTY_OVERRIDES += vendor.usb.qdss.inst.name=qdss