OSDN Git Service

Add support of getting factory BDADDR from Controller's non-volatile memory(2/2)
authorYK Jeffrey Chao <jechao@broadcom.com>
Mon, 15 Oct 2012 07:48:52 +0000 (00:48 -0700)
committerMatthew Xie <mattx@google.com>
Tue, 16 Oct 2012 23:27:56 +0000 (16:27 -0700)
commit41a117f83f745525c5bc3d2b46d0ea7e6a791ee3
tree4b76e3d14e5a0b8c4c9fec8274130b922e55307e
parent715aec1b653d1f8b47f4f6d1f825d9016840824b
Add support of getting factory BDADDR from Controller's non-volatile memory(2/2)

When factory Bluetooth device address is stored in the BT Controller's
non-volatile memory (e.g. BCM4330 OTP memory) instead of devices's file system,
the BDADDR will be retrieved from the Controller while enabling Bluedroid core
stack.

Introduce USE_CONTROLLER_BDADDR preprocessor directive in the vendor lib.

After patchram download, check whether the BT Controller has a non-zero's BDADDR
stored in its non-volatile memory. If not, write BTIF's init BDADDR to the
Controller.

bug 7340441

Change-Id: I2414b9479d4ef93ffd20c7ccc4875aab009e7cc8
include/bt_vendor_brcm.h
include/vnd_grouper.txt
include/vnd_tilapia.txt
src/hardware.c