Bluetooth: hci_ll: Add optional nvmem BD address source
authorDavid Lechner <david@lechnology.com>
Tue, 12 Dec 2017 23:54:12 +0000 (17:54 -0600)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 13 Dec 2017 08:21:20 +0000 (09:21 +0100)
commit0e58d0cdb3eb6e06416bcc1af3605993c6a07656
treec9232b0d0fc309cf523f92c10b2c88df206944df
parent00644f9bd38b89c7844ab516644a90cc1e06dd64
Bluetooth: hci_ll: Add optional nvmem BD address source

This adds an optional nvmem consumer to get a BD address from an external
source. The BD address is then set in the Bluetooth chip after the
firmware has been loaded.

This has been tested working with a TI CC2560A chip (in a LEGO MINDSTORMS
EV3).

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ll.c