summaryrefslogtreecommitdiffstats
path: root/libbt/include/bt_vendor_brcm.h
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-07-05 14:25:52 -0700
committerSteve Kondik <shade@chemlab.org>2013-07-05 15:21:06 -0700
commit5e53640d63b7c140294e57d397df0c047f869923 (patch)
tree316500d37a06bc57731892b4363f4bbe9123da2f /libbt/include/bt_vendor_brcm.h
parent6747b2697931fe6eb2b9f92b787be64f2f548690 (diff)
downloaddevice_common-5e53640d63b7c140294e57d397df0c047f869923.zip
device_common-5e53640d63b7c140294e57d397df0c047f869923.tar.gz
device_common-5e53640d63b7c140294e57d397df0c047f869923.tar.bz2
libbt: Add prepatch support
* We need to apply an initial patch to the BCM4335 hardware to prevent chip crashes, so add support for a prepatch designated by FW_PRE_PATCH. Change-Id: I2d2ec59094a1ae2cb39e1f41d4853ac4a45d1902
Diffstat (limited to 'libbt/include/bt_vendor_brcm.h')
-rw-r--r--libbt/include/bt_vendor_brcm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbt/include/bt_vendor_brcm.h b/libbt/include/bt_vendor_brcm.h
index 4ba62ac..58feda0 100644
--- a/libbt/include/bt_vendor_brcm.h
+++ b/libbt/include/bt_vendor_brcm.h
@@ -72,6 +72,10 @@
#define UART_TARGET_BAUD_RATE 3000000
#endif
+#ifndef FW_PRE_PATCH
+#define FW_PRE_PATCH ""
+#endif
+
/* The millisecond delay pauses on HCI transport after firmware patches
* were downloaded. This gives some time for firmware to restart with
* patches before host attempts to send down any HCI commands.