From: Ran Wang <ran.wang_1@nxp.com>
Date: Mon, 27 Nov 2017 02:51:54 +0000 (+0800)
Subject: powerpc/T104xRDB: Fix endian access issue on EHCI intinalization
X-Git-Tag: v2025.01-rc5-pxa1908~5263^2~2
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=e6a727fffec7b2002edc9fdd467dea4ba0c6037a;p=u-boot.git

powerpc/T104xRDB: Fix endian access issue on EHCI intinalization

This issue is exposed after commit 9000eddbae0d ("drivers/usb/ehci:
Use platform-specific accessors"), the wrong endianness of EHCI
controller programing will cause USB function down.

Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
---

diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 2dbeffdd2a..9d82e1be78 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -634,6 +634,7 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 #ifdef CONFIG_USB_EHCI_HCD
 #define CONFIG_USB_EHCI_FSL
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
+#define CONFIG_EHCI_DESC_BIG_ENDIAN
 #endif
 #endif