diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-04 07:35:03 +0900 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-06-04 00:43:53 +0200 |
commit | 0a8cc1a3a4206d556da784a0e98598190dfe5408 (patch) | |
tree | 82e93ae04467fda3d717a99387cc55799ccb5a30 /common | |
parent | 0ff27eb25f027602261fd009b1cf588f7918f02c (diff) | |
download | u-boot-0a8cc1a3a4206d556da784a0e98598190dfe5408.zip u-boot-0a8cc1a3a4206d556da784a0e98598190dfe5408.tar.gz u-boot-0a8cc1a3a4206d556da784a0e98598190dfe5408.tar.bz2 |
usb: move CONFIG_USB_XHCI to Kconfig with renaming
Move CONFIG_USB_XHCI to defconfig files for all boards, renaming it
into CONFIG_USB_XHCI_HCD.
As commented in the help of "config USB_XHCI" entry, this has been
a TODO for a long time; now CONFIG_USB_XHCI_HCD and CONFIG_USB_XHCI
have been unified in favor of the former.
Note:
Some boards define CONFIG_USB_XHCI in their headers without
CONFIG_USB, which does not meet the "depends on" in Kconfig.
I added CONFIG_USB=y for those boards when converting.
Otherwise, they would fail to build.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb.c b/common/usb.c index 8d9efe5..b3ba487 100644 --- a/common/usb.c +++ b/common/usb.c @@ -1182,7 +1182,7 @@ int usb_new_device(struct usb_device *dev) * with the device. So a get_descriptor will fail before any * of that is done for XHCI unlike EHCI. */ -#ifdef CONFIG_USB_XHCI +#ifdef CONFIG_USB_XHCI_HCD do_read = false; #endif err = usb_setup_device(dev, do_read, dev->parent); |