diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 21:22:32 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 20:11:25 +0300 |
commit | fbeceb260232ae9f102af11e6cb2f3743ecc9b9a (patch) | |
tree | 1d838221dbd3a7a82833d2748ca379430905cf39 /common | |
parent | 449230f0318da3f3c27aea1753097a8165da6fdb (diff) | |
download | u-boot-fbeceb260232ae9f102af11e6cb2f3743ecc9b9a.tar.xz |
dm: usb: Allow setting up a USB controller as a device/gadget
Some controllers support OTG (on-the-go) where they can operate as either
host or device. The gadget layer in U-Boot supports this.
While this layer does not interact with driver model, we can provide a
function which sets up the controller in the correct way. This way the code
at least builds (although it likely will not work).
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions