summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 12:22:10 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:21 -0600
commit054fe48eb2c968e163e35156fac4c04a320c3744 (patch)
treee188e1d24aee81285ba19a7eb5327f41572477c3 /include/dm
parent361ad6afc479d8aac330525b98df7a36dea4116d (diff)
downloadu-boot-imx-054fe48eb2c968e163e35156fac4c04a320c3744.zip
u-boot-imx-054fe48eb2c968e163e35156fac4c04a320c3744.tar.gz
u-boot-imx-054fe48eb2c968e163e35156fac4c04a320c3744.tar.bz2
dm: usb: Add driver model support for hubs
Adjust the existing hub code to support driver model, and add a USB driver for hubs. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 95bd249..967efec 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -41,6 +41,7 @@ enum uclass_id {
UCLASS_ETH, /* Ethernet device */
UCLASS_LPC, /* x86 'low pin count' interface */
UCLASS_USB, /* USB bus */
+ UCLASS_USB_HUB, /* USB hub */
UCLASS_COUNT,
UCLASS_INVALID = -1,