fix: usb: fixed support for USB to ETH adapters (asix)
- Added alignment for USB ETH adapter MAC address (using eth_setenv_enetaddr_by_index() routine).
after identifying device, updating ethXaddr environment variable with actual MAC adress
- Aligned asix_send() API as expected by NET driver stack (prevent compilation warning)
following comamnds should be executed in u-boot CLI:
usb reset
setenv ethact asx0
Change-Id: I2172638573d76b64b101ae82347af8f0eae692bb
Signed-off-by: Omri Itach <omrii@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/8323
Tested-by: Star_Automation <star@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
4 files changed