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

index 1b665b2c15d877e2c5ff278310b74db80e9a2012..c51ca275028658fcc4431b96b138ffb060976359 100644 (file)
 #ifdef CONFIG_USB_EHCI_HCD
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
 #define CONFIG_USB_EHCI_FSL
+#define CONFIG_EHCI_DESC_BIG_ENDIAN
 #endif
 #endif