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 /arch/powerpc/cpu/mpc8xxx/fdt.c | |
parent | 90f89f099d0741ed5557adbce4a2dde96887a824 (diff) | |
download | u-boot-a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d.tar.gz u-boot-a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d.tar.bz2 u-boot-a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d.zip |
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 'arch/powerpc/cpu/mpc8xxx/fdt.c')
-rw-r--r-- | arch/powerpc/cpu/mpc8xxx/fdt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/powerpc/cpu/mpc8xxx/fdt.c index d9e3e7ee10..6c757f8292 100644 --- a/arch/powerpc/cpu/mpc8xxx/fdt.c +++ b/arch/powerpc/cpu/mpc8xxx/fdt.c @@ -163,8 +163,6 @@ void fdt_fixup_dr_usb(void *blob, bd_t *bd) usb1_defined = 1; if (mode_idx < 0 && phy_idx < 0) printf("WARNING: invalid phy or mode\n"); - } else { - break; } } if (!usb1_defined) { |