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
Showing
Please register or sign in to comment