Skip to contentSkip to conversation

Removes FIXME message in usb.c

PATCH In review Nicholas Krause 4 participants 4 messages Jul 9, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Removes FIXME message in usb.c

This patch removes a fixme message in this file:wq for setting the usb 2 speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be shared for the other things on the board with the usb chipset.

---
 arch/arm/mach-omap1/usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap1/usb.c +1 -1
index 4118db5..172245a 100644
@@ -505,7 +505,7 @@ static u32 __init omap1_usb2_init(unsigned nwires, unsigned alt_pingroup)
 		omap_cfg_reg(W5_USB2_SE0);
 		if (nwires != 3)
 			omap_cfg_reg(Y5_USB2_RCV);
-		// FIXME omap_cfg_reg(USB2_SPEED);
+		/* Depend on boatloader for USB speed to be stated for board */
 	} else {
 		pr_debug("usb%d cpu unrecognized\n", 1);
 		return 0;
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Nicholas Krause

This patch removes a fixme message in this file:wq for setting the usb 2

I don't think you did this correctly :)

Quoted 14 lines

speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be shared for the other things on the board with the usb chipset.

---
 arch/arm/mach-omap1/usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap1/usb.c +0 -0
index 4118db5..172245a 100644

arch/arm/mach-omap1/usb.c static u32 __init omap1_usb2_init(unsigned nwires, unsigned alt_pingroup) · line 508

Quoted 5 lines
arch/arm/mach-omap1/usb.c +1 -1
@@ -505,7 +505,7 @@ static u32 __init omap1_usb2_init(unsigned nwires, unsigned alt_pingroup)
 		omap_cfg_reg(W5_USB2_SE0);
 		if (nwires != 3)
 			omap_cfg_reg(Y5_USB2_RCV);
-		// FIXME omap_cfg_reg(USB2_SPEED);
+		/* Depend on boatloader for USB speed to be stated for board */

Really? Is that correct? WHy?

#2 lore raw
In reply to Nicholas Krause
Quoted 1 line · Nicholas Krause

This patch removes a fixme message in this file:wq for setting the usb 2

:wq?

Quoted 14 lines

speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be shared for the other things on the board with the usb chipset.

---
 arch/arm/mach-omap1/usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap1/usb.c +0 -0
index 4118db5..172245a 100644

arch/arm/mach-omap1/usb.c static u32 __init omap1_usb2_init(unsigned nwires, unsigned alt_pingroup) · line 508

Quoted 5 lines
arch/arm/mach-omap1/usb.c +1 -1
@@ -505,7 +505,7 @@ static u32 __init omap1_usb2_init(unsigned nwires, unsigned alt_pingroup)
 		omap_cfg_reg(W5_USB2_SE0);
 		if (nwires != 3)
 			omap_cfg_reg(Y5_USB2_RCV);
-		// FIXME omap_cfg_reg(USB2_SPEED);
+		/* Depend on boatloader for USB speed to be stated for board */

bootloader?

Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
#3 lore raw
In reply to Nicholas Krause

Hello.

Quoted 1 line · Nicholas Krause

This patch removes a fixme message in this file:wq for setting the usb 2

The vim's commands interspersed with text? :-)

Quoted 5 lines

speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be shared for the other things on the board with the usb chipset.

[...]

WBR, Sergei