]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:58 +0000 (13:48 +0200)
commit2e0837c4aa25142014568ad0d3938c2b16e36054
tree2013fcb92667a990d05e5ab9e18ce5d72bf26f1e
parent829a6c4927381f87d7a4ba94833f4b5ed82f1118
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