commit | 69559093f6173dcfcb041df0995063bdbd07d49b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jul 06 16:47:48 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 21 17:39:39 2015 -0600 |
tree | c5bb51d0b1b43914f1b2555e86c049c04e88c386 | |
parent | b483915ffda96dc5979fcc034d16420221b2ca25 [diff] |
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>