Skip to contentSkip to conversation

powerpc/T104xRDB: Fix endian access issue on EHCI intinalization

PATCH New Ran Wang 2 participants 4 messages Nov 27, 2017 – Dec 8, 2017

lore
Share & tools
lore

Ran Wang

author
#0 lore raw

PATCH 1/2 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 endian way of EHCI controller programing will cause USB function down.

---
 include/configs/T104xRDB.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/T104xRDB.h +1 -0
index 2dbeffdd2a..9d82e1be78 100644
@@ -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
 
Signature · 1 line
2.14.1
author
#1 lore raw

PATCH 2/2 powerpc/p1_p2_rdb_pc: Fix endian access issue on EHCI intinalization

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.

---
 include/configs/p1_p2_rdb_pc.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/p1_p2_rdb_pc.h +1 -0
index 1b665b2c15..c51ca27502 100644
@@ -782,6 +782,7 @@
 #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
 
Signature · 1 line
2.14.1
#2 lore raw

PATCH 2/2 powerpc/p1_p2_rdb_pc: Fix endian access issue on EHCI intinalization

Quoted 7 lines · Ran Wang

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.

---

Applied to u-boot-mpc85xx master. Thanks.

York

#3 lore raw

PATCH 1/2 powerpc/T104xRDB: Fix endian access issue on EHCI intinalization

In reply to Ran Wang
Quoted 7 lines · Ran Wang

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.

---

Applied to u-boot-mpc85xx master. Thanks.

York