commit | 8bfc288c395584101f4a7fb545c4e79f3fb85c3e | [log] [tgz] |
---|---|---|
author | Kishon Vijay Abraham I <kishon@ti.com> | Wed Aug 19 13:49:46 2015 +0530 |
committer | Marek Vasut <marex@denx.de> | Wed Aug 19 22:30:31 2015 +0200 |
tree | aab886229fdeddf7f894cc51e0bc655621f17cb3 | |
parent | a5ccda47f1587180b70c634ba4cb7f8d151f408a [diff] |
usb: gadget: ether: Perform board initialization from ethernet gadget driver Ethernet gadget driver can be used both by both SPL and u-boot. Since usb_eth_init() is the entry point for ethernet gadget driver, perform board initialization there. Also perform the cleanup in usb_eth_halt. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>