]> git.sur5r.net Git - u-boot/commit
dm: usb: Avoid using USB ethernet with CONFIG_DM_USB and no DM_ETH
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 22:47:48 +0000 (16:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:39 +0000 (17:39 -0600)
commit69559093f6173dcfcb041df0995063bdbd07d49b
treec5bb51d0b1b43914f1b2555e86c049c04e88c386
parentb483915ffda96dc5979fcc034d16420221b2ca25
dm: usb: Avoid using USB ethernet with CONFIG_DM_USB and no DM_ETH

If driver model is used for Ethernet then USB Ethernet does not build. This
can be made to work with driver model is used for USB also. Add #ifdef logic
to make this clear when building.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
common/cmd_usb.c