[U-Boot] [PATCH v2 08/13] usb: gadget: ether: Provide a way to read MAC address
Marek Vasut
marex at denx.de
Thu Jun 15 16:58:42 UTC 2017
On 06/14/2017 02:24 PM, Vignesh R wrote:
>
>
> On Tuesday 13 June 2017 07:36 PM, Marek Vasut wrote:
>> On 06/13/2017 02:10 PM, Vignesh R wrote:
>>> Provide a way to read MAC address for usb_ether device from board
>>> function. Board files can override board_set_usbnet_devaddr() to
>>> populate MAC address to be used by usb_ether as device address.
>>>
>>> Signed-off-by: Vignesh R <vigneshr at ti.com>
>>
>> This patch is totally unrelated to this series.
>
> This series converts dwc3 peripheral to device model and the best way to
> test this on TI platform to use it on ether gadget and test RNDIS boot.
> Hence, I had to do patches 8 to 13. Therefore I posted them together for
> completeness, if somebody wanted to test this out.
Testing is great, but this is probably a fix and it's unrelated to the
series anyway.
>> Moreover, just set eth*addr using setenv() to achieve the same iirc .
>>
>
> eth*addr is used for regular ethernet interface and usually set by
> regular ethernet driver, but I could not find a way to set MAC address
> for usb ethernet interface
> Board file will now override board_set_usbnet_devaddr() to read MAC and
> then call setenv()
Lukasz should be able to jump in and help.
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list