]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:29:37 +0000 (10:29 +0200)
commitbb9221f0dd0fac244caa9277438c48dc2eeef867
tree3e37b45d5c14bc4b82e017b5b7d7833ef9c90f73
parent81c07104d617a7ce6354d5d655e98d56dc66303e
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