From 4cf95bb3ead28152c73a143681b9ee43ddc268f0 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Thu, 13 Dec 2012 20:54:44 +0100 Subject: p51xx: provide bluedroid config Change-Id: I2c8ee22023b14662cbb91805993d6734ad92f9f3 --- BoardConfigCommon.mk | 1 + bluetooth/vnd_espresso10.txt | 12 ++++++++++++ init.espresso10.rc | 9 --------- 3 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 bluetooth/vnd_espresso10.txt diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 79a88d5..ef19da3 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -90,6 +90,7 @@ BOARD_LEGACY_NL80211_STA_EVENTS := true BOARD_HAVE_BLUETOOTH := true BOARD_HAVE_BLUETOOTH_BCM := true BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/p5100/bluetooth +BOARD_BLUEDROID_VENDOR_CONF := device/samsung/p5100/bluetooth/vnd_espresso10.txt # Security BOARD_USES_SECURE_SERVICES := true diff --git a/bluetooth/vnd_espresso10.txt b/bluetooth/vnd_espresso10.txt new file mode 100644 index 0000000..b17d53c --- /dev/null +++ b/bluetooth/vnd_espresso10.txt @@ -0,0 +1,12 @@ +BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyO1" +FW_PATCHFILE_LOCATION = "/vendor/firmware/" +FW_PATCH_SETTLEMENT_DELAY_MS = 50 +UART_TARGET_BAUD_RATE = 3000000 +LPM_IDLE_TIMEOUT_MULTIPLE = 5 +BTVND_DBG = FALSE +BTHW_DBG = TRUE +VNDUSERIAL_DBG = FALSE +UPIO_DBG = FALSE +SCO_PCM_IF_CLOCK_RATE = 0 +PCM_DATA_FMT_FILL_METHOD = 3 +PCM_DATA_FMT_FILL_NUM = 3 diff --git a/init.espresso10.rc b/init.espresso10.rc index 6b7304c..f8cb6cf 100755 --- a/init.espresso10.rc +++ b/init.espresso10.rc @@ -268,15 +268,6 @@ service smc_pa_wvdrm /system/bin/smc_pa_ctrl \ group drmrpc neshot -service hciattach /system/bin/brcm_patchram_plus --enable_hci --no2bytes --enable_lpm \ - --tosleep 50000 --baudrate 3000000 --use_baudrate_for_download \ - --patchram /vendor/firmware/BCM4330.hcd /dev/ttyO1 - class main - user bluetooth - group bluetooth net_bt_admin - disabled - oneshot - service orientationd /system/bin/orientationd class main user compass -- cgit v1.1