powerpc/usb: Mention usb1 before usb2 inside default hwconfig string
authorramneek mehresh <ramneek.mehresh@freescale.com>
Tue, 10 Sep 2013 12:07:45 +0000 (17:37 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 16 Oct 2013 23:13:12 +0000 (16:13 -0700)
For USB device-tree fix-up to work properly, its necessary to
mention USB1 options before that of USB2 inside default hwconfig
string

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
include/configs/corenet_ds.h

index 966b0ab6b9359d97774d5e373d64f0f74d5581b0..34b3aace726d0722fcdbeadbdcbe704af6d3e498 100644 (file)
 #define        CONFIG_EXTRA_ENV_SETTINGS                               \
        "hwconfig=fsl_ddr:ctlr_intlv=cacheline,"                \
        "bank_intlv=cs0_cs1;"                                   \
-       "usb2:dr_mode=peripheral,phy_type=" __stringify(__USB_PHY_TYPE) ";"\
-       "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\
+       "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) ";"\
+       "usb2:dr_mode=peripheral,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\
        "netdev=eth0\0"                                         \
        "uboot=" __stringify(CONFIG_UBOOTPATH) "\0"             \
        "ubootaddr=" __stringify(CONFIG_SYS_TEXT_BASE) "\0"     \