diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2011-07-28 16:17:32 +0800 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-29 08:53:43 -0500 |
commit | a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d (patch) | |
tree | 8acc8826d7fb50bd51a37a8755528af814c61cae /include | |
parent | 90f89f099d0741ed5557adbce4a2dde96887a824 (diff) | |
download | u-boot-imx-a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d.zip u-boot-imx-a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d.tar.gz u-boot-imx-a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d.tar.bz2 |
powerpc/85xx: enable USB2 gadget mode for corenet ds board
to make USB2 worked in gadget mode, we need to set it's 'dr_mode' to
'peripheral' in hwconfig, but driver starts scan from 'usb1', it'll break
out if it cannot find 'usb1', so drop the 'else' clause to make driver scan
all the 'usbx'.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/corenet_ds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h index 0b7becb..adf9906 100644 --- a/include/configs/corenet_ds.h +++ b/include/configs/corenet_ds.h @@ -595,6 +595,7 @@ #define CONFIG_USB_EHCI_FSL #define CONFIG_EHCI_HCD_INIT_AFTER_RESET #define CONFIG_CMD_EXT2 +#define CONFIG_HAS_FSL_DR_USB #define CONFIG_MMC |