]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wl12xx/ti-utils.git/commit
plt: add support to read the MAC from fuse and write to NVS
authorLuciano Coelho <coelho@ti.com>
Fri, 20 Jan 2012 13:08:34 +0000 (15:08 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 23 Jan 2012 07:21:15 +0000 (09:21 +0200)
commite7453a0b609685df4282e7eaf36a87488c7b85a3
tree5edcb4417cc043cad555f7ceae394df68c081641
parenteb0795352e13781b1588ababcc9d44a8dc49456e
plt: add support to read the MAC from fuse and write to NVS

Add a new command "plt set_mac" to allow reading the MAC address from
the fuse ROM and writing to the NVS.

To ease the usage, also allow a real MAC address to be passed.  If a
real MAC is passed, we wouldn't need to know the interface to use, but
it's better to have everything in a single command.

If the MAC needs to be assigned offline (ie. not in a device with a
valid wl12xx interface), the old "set nvs_mac" command still works.

Signed-off-by: Luciano Coelho <coelho@ti.com>
plt.c