summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@nxp.com>2016-05-30 14:26:55 +0800
committerYork Sun <york.sun@nxp.com>2016-06-03 14:12:49 -0700
commit3e06ba8f25521cb385c2fe9d2b312244f788a02a (patch)
tree6eb87b6cd8fc64e4d445e7dd902043fe391994c4 /board/freescale
parentd36740462a35aaaaa7e01e43c6ff666467070427 (diff)
downloadu-boot-imx-3e06ba8f25521cb385c2fe9d2b312244f788a02a.zip
u-boot-imx-3e06ba8f25521cb385c2fe9d2b312244f788a02a.tar.gz
u-boot-imx-3e06ba8f25521cb385c2fe9d2b312244f788a02a.tar.bz2
armv8: ls1043aqds: fix usb PWRFAULT setting
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>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/ls1043aqds/ls1043aqds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c
index ca393e8..7e47ef0 100644
--- a/board/freescale/ls1043aqds/ls1043aqds.c
+++ b/board/freescale/ls1043aqds/ls1043aqds.c
@@ -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