]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: gadget: ether: Perform board initialization from ethernet gadget driver
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 19 Aug 2015 08:19:46 +0000 (13:49 +0530)
committerMarek Vasut <marex@denx.de>
Wed, 19 Aug 2015 20:30:31 +0000 (22:30 +0200)
commit8bfc288c395584101f4a7fb545c4e79f3fb85c3e
treeaab886229fdeddf7f894cc51e0bc655621f17cb3
parenta5ccda47f1587180b70c634ba4cb7f8d151f408a
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>
drivers/usb/gadget/ether.c