Skip to contentSkip to conversation

powerpc/usb: Mention usb1 before usb2 inside default hwconfig string

PATCH New Ramneek Mehresh 2 participants 2 messages Sep 10, 2013 – Sep 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/usb: Mention usb1 before usb2 inside default hwconfig string

For USB device-tree fix-up to work properly, its necessary to mention USB1 options before that of USB2 inside default hwconfig string

---
 include/configs/corenet_ds.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/corenet_ds.h +2 -2
index c3fb80c..1ccefb0 100644
@@ -700,8 +700,8 @@
 #define	CONFIG_EXTRA_ENV_SETTINGS				\
 	"hwconfig=fsl_ddr:ctlr_intlv=cacheline,"		\
 	"bank_intlv=cs0_cs1;"					\
-	"usb2:dr_mode=peripheral,phy_type=" __stringify(__USB_PHY_TYPE) ";"\
-	"usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\
+	"usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) ";"\
+	"usb2:dr_mode=peripheral,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\
 	"netdev=eth0\0"						\
 	"uboot=" __stringify(CONFIG_UBOOTPATH) "\0"		\
 	"ubootaddr=" __stringify(CONFIG_SYS_TEXT_BASE) "\0"	\
Signature · 1 line
1.7.11.7
#1 lore raw

PATCH 1/1 powerpc/usb: Mention usb1 before usb2 inside default hwconfig string

Quoted 6 lines · Ramneek Mehresh

For USB device-tree fix-up to work properly, its necessary to mention USB1 options before that of USB2 inside default hwconfig string

---

Applied to u-boot-mpc85xx/next, pending merging to u-boot-mpc85xx/master branch.

York