summaryrefslogtreecommitdiffstats
path: root/libbt/include/bt_vendor_brcm.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-11-11 22:19:46 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-11-11 22:19:46 +0100
commit696fbe733b96e3f2d23ff53a8e8db2303fbd00fe (patch)
tree9f380ec5bedad40343091fd329114fd4c6a35fd0 /libbt/include/bt_vendor_brcm.h
parenta37aa43aa596796f9d535f41092c14742761eb0d (diff)
downloaddevice_common-696fbe733b96e3f2d23ff53a8e8db2303fbd00fe.zip
device_common-696fbe733b96e3f2d23ff53a8e8db2303fbd00fe.tar.gz
device_common-696fbe733b96e3f2d23ff53a8e8db2303fbd00fe.tar.bz2
Properly handle missing firmwares
This requires to set FW_PATCHFILE_CHIP_NAME properly for each device. Change-Id: Iba7ea481a9a8a859c622bdca349c9371e11e1cd1 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'libbt/include/bt_vendor_brcm.h')
-rw-r--r--libbt/include/bt_vendor_brcm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbt/include/bt_vendor_brcm.h b/libbt/include/bt_vendor_brcm.h
index 9531df5..5b41268 100644
--- a/libbt/include/bt_vendor_brcm.h
+++ b/libbt/include/bt_vendor_brcm.h
@@ -63,6 +63,12 @@
#define BLUETOOTH_UART_DEVICE_PORT "/dev/ttyO1" /* maguro */
#endif
+/* Firmware patch file chip name */
+
+#ifndef FW_PATCHFILE_CHIP_NAME
+#define FW_PATCHFILE_CHIP_NAME "bcm4330" /* maguro */
+#endif
+
/* Location of firmware patch files */
#ifndef FW_PATCHFILE_LOCATION
#define FW_PATCHFILE_LOCATION "/vendor/firmware/" /* maguro */