powerpc/85xx: enable USB2 gadget mode for corenet ds board
authorShaohui Xie <Shaohui.Xie@freescale.com>
Thu, 28 Jul 2011 08:17:32 +0000 (16:17 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jul 2011 13:53:43 +0000 (08:53 -0500)
commita3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d
tree8acc8826d7fb50bd51a37a8755528af814c61cae
parent90f89f099d0741ed5557adbce4a2dde96887a824
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>
arch/powerpc/cpu/mpc8xxx/fdt.c
board/freescale/corenet_ds/corenet_ds.c
include/configs/corenet_ds.h