board/boundarydevices: add mac parameter for BD-SDMAC in bootscript
authorGary Bisson <gary.bisson@boundarydevices.com>
Fri, 18 Aug 2017 14:15:52 +0000 (16:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Aug 2017 13:18:32 +0000 (15:18 +0200)
Our new WiFi 802.11ac BT4.1 module (BD-SDMAC [1]) driver allows to
override the wlan MAC address using a module parameter.

Since its driver is now included in our external repository [2], update
the bootscript so it sets the parameter for that driver too.

As a FYI, $wlmac is based on Ethernet MAC address located in fuses.

[1] https://boundarydevices.com/product/bd_sdmac_wifi/
[2] https://github.com/boundarydevices/buildroot-external-boundary

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/boundarydevices/common/6x_bootscript.txt

index 2fc687aff4cd67e58e17f7b6bf008d234d77c782..af5822a88be1fe09a764f1340ad2b15dedcc62fd 100644 (file)
@@ -106,6 +106,7 @@ fi
 
 if itest.s "x" != "x${wlmac}" ; then
        setenv bootargs ${bootargs} wlcore.mac=${wlmac}
+       setenv bootargs ${bootargs} wlan.mac=${wlmac}
 fi
 
 if itest.s "x" != "x${gpumem}" ; then