Bluetooth: Bring up QCOM Bluetooth HAL

Specify all configurations on qti_default.mk, and here are some
important items:
 * QCOM_BLUETOOTH_USING_DIAG = false
 * TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18"
 * UART_USE_TERMIOS_AFC = true
 * TARGET_USE_QTI_BT_OBS = true

Bug: 202113218
Test: Build pass
Change-Id: I444d64e7413d1b08aff295e3ad64238cbaec1286
This commit is contained in:
Cheney Ni 2021-09-15 10:57:36 +08:00 committed by TreeHugger Robot
parent 830872632c
commit 7dbebb7ab4
2 changed files with 47 additions and 14 deletions

View file

@ -81,16 +81,8 @@ DEVICE_MANIFEST_FILE += \
PRODUCT_COPY_FILES += \
device/google/lynx/thermal_info_config_lynx.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
# Bluetooth HAL
DEVICE_MANIFEST_FILE += \
device/google/lynx/bluetooth/manifest_bluetooth.xml
PRODUCT_SOONG_NAMESPACES += \
vendor/broadcom/bluetooth
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.1-service.bcmbtlinux \
bt_vendor.conf
PRODUCT_COPY_FILES += \
device/google/lynx/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
# Bluetooth HAL and Pixel extension
include device/google/lynx/bluetooth/qti_default.mk
# Keymaster HAL
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
@ -122,10 +114,6 @@ PRODUCT_COPY_FILES += \
# ro.hardware.keystore=software \
# ro.hardware.gatekeeper=software
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# Fingerprint HAL
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
include device/google/gs101/fingerprint/udfps_common.mk