summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2011-07-28 16:17:32 +0800
committerKumar Gala <galak@kernel.crashing.org>2011-07-29 08:53:43 -0500
commita3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d (patch)
tree8acc8826d7fb50bd51a37a8755528af814c61cae /arch/powerpc/cpu
parent90f89f099d0741ed5557adbce4a2dde96887a824 (diff)
downloadblackbird-obmc-uboot-a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d.tar.gz
blackbird-obmc-uboot-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')
-rw-r--r--arch/powerpc/cpu/mpc8xxx/fdt.c2
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) {
OpenPOWER on IntegriCloud