dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 5 Aug 2015 14:58:17 +0000 (16:58 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 02:57:50 +0000 (20:57 -0600)
commit389f1856bd0882471214c2ac94da2b415362c10f
treecd35eca53fc92f216956bb41c642784cefa1425f
parenta5325cd5e91f77a2214e80198ae31c1d8b7e7c3c
dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

The following commit enforces CONFIG_DM_ETH for USB Ethernet which
breaks any board using CONFIG_USB_HOST_ETHER without CONFIG_DM_ETH
which this patch fixes.

commit 69559093f6173dcfcb041df0995063bdbd07d49b
dm: usb: Avoid using USB ethernet with CONFIG_DM_USB and no DM_ETH

Tested on Colibri T20/T30 as well as Apalis T30 with
CONFIG_USB_HOST_ETHER and CONFIG_USB_ETHER_ASIX enabled and a LevelOne
USB-0301 ASIX AX88772 dongle.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/cmd_usb.c