[U-Boot] [PATCH][v3] powerpc/85xx: enable USB2 gadget mode for corenet ds board

Kumar Gala galak at kernel.crashing.org
Fri Jul 29 16:00:23 CEST 2011


On Jul 28, 2011, at 3:17 AM, Shaohui Xie wrote:

> 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 at freescale.com>
> ---
> changes for v3:
> 1. drop 'else'.
> 2. drop #define CONFIG_SYS_USB_DEVICE.
> 
> changes for v2:
> 1. fixed a typo in title.
> 2. Added some details in commit.
> 
> arch/powerpc/cpu/mpc8xxx/fdt.c          |    2 --
> board/freescale/corenet_ds/corenet_ds.c |    1 +
> include/configs/corenet_ds.h            |    1 +
> 3 files changed, 2 insertions(+), 2 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list