armv8: ls1043aqds: fix usb PWRFAULT setting
authorShaohui Xie <Shaohui.Xie@nxp.com>
Mon, 30 May 2016 06:26:55 +0000 (14:26 +0800)
committerYork Sun <york.sun@nxp.com>
Fri, 3 Jun 2016 21:12:49 +0000 (14:12 -0700)
SCFG_USBPWRFAULT_DEDICATED instead of SCFG_USBPWRFAULT_SHARED should
be used for USB 3 & 2.

Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls1043aqds/ls1043aqds.c

index ca393e862d7d40e7146fbe1d95d92eec02796d51..7e47ef0d82bcbb54eb2ac82f09d1f4b97ae32d4b 100644 (file)
@@ -238,8 +238,8 @@ int board_early_init_f(void)
        out_be32(&scfg->rcwpmuxcr0, 0x3333);
        out_be32(&scfg->usbdrvvbus_selcr, SCFG_USBDRVVBUS_SELCR_USB1);
        usb_pwrfault =
-               (SCFG_USBPWRFAULT_SHARED << SCFG_USBPWRFAULT_USB3_SHIFT) |
-               (SCFG_USBPWRFAULT_SHARED << SCFG_USBPWRFAULT_USB2_SHIFT) |
+               (SCFG_USBPWRFAULT_DEDICATED << SCFG_USBPWRFAULT_USB3_SHIFT) |
+               (SCFG_USBPWRFAULT_DEDICATED << SCFG_USBPWRFAULT_USB2_SHIFT) |
                (SCFG_USBPWRFAULT_SHARED << SCFG_USBPWRFAULT_USB1_SHIFT);
        out_be32(&scfg->usbpwrfault_selcr, usb_pwrfault);
 #endif