[U-Boot] [PATCH 1/2] powerpc/T104xRDB: Fix endian access issue on EHCI intinalization

Ran Wang ran.wang_1 at nxp.com
Mon Nov 27 02:51:54 UTC 2017


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

Signed-off-by: Ran Wang <ran.wang_1 at nxp.com>
---
 include/configs/T104xRDB.h | 1 +
 1 file changed, 1 insertion(+)

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
 
-- 
2.14.1



More information about the U-Boot mailing list