]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
powerpc/T104xRDB: Fix endian access issue on EHCI intinalization
authorRan Wang <ran.wang_1@nxp.com>
Mon, 27 Nov 2017 02:51:54 +0000 (10:51 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 6 Dec 2017 22:53:58 +0000 (14:53 -0800)
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>
include/configs/T104xRDB.h

index 2dbeffdd2a97ad92638e1696a0e405b7d683face..9d82e1be7852d1ebb0ae32e25df9083e68c3ef93 100644 (file)
@@ -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