summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Wang <leozwang@google.com>2016-02-25 21:45:05 +0000
committerLeo Wang <leozwang@google.com>2016-02-25 21:45:05 +0000
commitc93964cae37b96a5a6acca8cb001ef22f1d36240 (patch)
treed0e6016858439f564f0f9fc353b726eabbd53a3c
parent7257a2a3f1610b2b894e80a72c83da9f83598356 (diff)
downloadfreescale-c93964cae37b96a5a6acca8cb001ef22f1d36240.tar.gz
Revert "Enable BCM4339 Bluetooth on Brillo"
This reverts commit 7257a2a3f1610b2b894e80a72c83da9f83598356. Change-Id: I84cd777e4ae840321eb80ccdacc8912dccb5400c
-rw-r--r--peripheral/bluetooth/bcm4339/Android.mk28
-rw-r--r--peripheral/bluetooth/bcm4339/bt_bcm4339.rc31
-rw-r--r--peripheral/bluetooth/bcm4339/bt_vendor.conf6
-rw-r--r--peripheral/bluetooth/bcm4339/peripheral.mk31
-rw-r--r--peripheral/bluetooth/bcm4339/vnd_picoimx.txt12
5 files changed, 0 insertions, 108 deletions
diff --git a/peripheral/bluetooth/bcm4339/Android.mk b/peripheral/bluetooth/bcm4339/Android.mk
deleted file mode 100644
index d6a48d7..0000000
--- a/peripheral/bluetooth/bcm4339/Android.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright (C) 2016 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-LOCAL_PATH := $(my-dir)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := bt_bcm_bcm4339.imx
-LOCAL_MODULE_TAGS := optional
-LOCAL_REQUIRED_MODULES := \
- libbt-vendor \
- bluetooth.default \
- bluetooth-cli \
- bluetoothtbd \
- net_bdtool
-LOCAL_INIT_RC := bt_bcm4339.rc
-include $(BUILD_PHONY_PACKAGE)
-
diff --git a/peripheral/bluetooth/bcm4339/bt_bcm4339.rc b/peripheral/bluetooth/bcm4339/bt_bcm4339.rc
deleted file mode 100644
index 62c9f09..0000000
--- a/peripheral/bluetooth/bcm4339/bt_bcm4339.rc
+++ /dev/null
@@ -1,31 +0,0 @@
-########################################################
-# BLUETOOTH CONFIGURATION - BROADCOM SPECIFIC
-########################################################
-
-on fs
- mkdir /config/bt 0770 system bluetooth
- setprop ro.bt.bdaddr_path /config/bt/bd_addr.conf
-
-on early-boot
- chmod 0644 /config/bt/bd_addr.conf
-
-on post-fs-data
- # Bluetooth
- write /sys/class/rfkill/rfkill0/state 1
- chmod 0660 /sys/class/rfkill/rfkill0/state
- chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
- chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
-
-########################################################
-
-service dhcpcd_bt-pan /system/bin/dhcpcd -ABKL
- class main
- group bluetooth wifi system dhcp
- disabled
- oneshot
-
-service iprenew_bt-pan /system/bin/dhcpcd -n
- group bluetooth system dhcp
- disabled
- oneshot
-
diff --git a/peripheral/bluetooth/bcm4339/bt_vendor.conf b/peripheral/bluetooth/bcm4339/bt_vendor.conf
deleted file mode 100644
index 3f3cb94..0000000
--- a/peripheral/bluetooth/bcm4339/bt_vendor.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-# UART device port where Bluetooth controller is attached
-UartPort = /dev/ttymxc4
-
-# Firmware patch file location
-FwPatchFilePath = /vendor/firmware/bluetooth/bcm4339
-FwPatchFileName = BCM4335C0.ZP.hcd
diff --git a/peripheral/bluetooth/bcm4339/peripheral.mk b/peripheral/bluetooth/bcm4339/peripheral.mk
deleted file mode 100644
index 40edb0a..0000000
--- a/peripheral/bluetooth/bcm4339/peripheral.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2016 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# BCM4339 WIFI Firmware
-BCM4339_BT_SRC := hardware/bsp/freescale/peripheral/bluetooth/bcm4339
-BCM4339_BT_FIRMWARE := hardware/bsp/freescale/peripheral/wifi/bcm4339/bcmdhd/firmware/ZP_BCM4339
-BCM4339_BT_FW_DST := system/vendor/firmware/bluetooth/bcm4339
-
-PRODUCT_COPY_FILES += \
- $(BCM4339_BT_FIRMWARE)/BCM4335C0.ZP.hcd:$(BCM4339_BT_FW_DST)/BCM4335C0.ZP.hcd \
- $(BCM4339_BT_SRC)/bt_vendor.conf:system/etc/bluetooth/bt_vendor.conf
-
-# BCM Bluetooth
-BOARD_HAVE_BLUETOOTH_BCM := true
-BOARD_CUSTOM_BT_CONFIG := $(BCM4339_BT_SRC)/vnd_picoimx.txt
-
-DEVICE_PACKAGES += \
- bt_bcm_bcm4339.imx
diff --git a/peripheral/bluetooth/bcm4339/vnd_picoimx.txt b/peripheral/bluetooth/bcm4339/vnd_picoimx.txt
deleted file mode 100644
index 7656697..0000000
--- a/peripheral/bluetooth/bcm4339/vnd_picoimx.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-BLUETOOTH_UART_DEVICE_PORT = "/dev/ttymxc4"
-FW_PATCHFILE_LOCATION = "/vendor/firmware/bluetooth/bcm4339/"
-BT_WAKE_VIA_PROC = FALSE
-BT_WAKE_VIA_USERIAL_IOCTL = FALSE
-LPM_IDLE_TIMEOUT_MULTIPLE = 5
-BTVND_DBG = TRUE
-BTHW_DBG = TRUE
-VNDUSERIAL_DBG = TRUE
-UPIO_DBG = TRUE
-SCO_PCM_IF_CLOCK_RATE = 2
-USE_CONTROLLER_BDADDR = FALSE
-UART_TARGET_BAUD_RATE = 115200