diff mbox

[U-Boot,v2,2/2] arm: am335x: siemens board use in DFU mode fullspeed only

Message ID 1410332101-26167-3-git-send-email-hs@denx.de
State Accepted
Delegated to: Łukasz Majewski
Headers show

Commit Message

Heiko Schocher Sept. 10, 2014, 6:55 a.m. UTC
Siemens boards are now using DFU in fullspeed only. For
this CONFIG_USB_GADGET_DUALSPEED is undefined.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Liu Bin <b-liu@ti.com>
Cc: Lukas Stockmann <lukas.stockmann@siemens.com>

---

On the siemens board this is needed  because of a
protection circuit. The device is 24V AC powered,
if someone uses a non galvanically isolated transformer
and misswires it, it could burn down the USB host.
That's why we have a protection on the USB side which
limits the speed to 12Mbit/sec.

- changes for v2:
  - get rid of config option CONFIG_DFU_FULLSPEED as Bin Liu
    suggested.
---
 include/configs/siemens-am33x-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Łukasz Majewski Sept. 15, 2014, 10:26 a.m. UTC | #1
Hi Heiko,

> Siemens boards are now using DFU in fullspeed only. For
> this CONFIG_USB_GADGET_DUALSPEED is undefined.

Applied to u-boot-dfu
diff mbox

Patch

diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index b8fb77e..4dcd690 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -233,7 +233,7 @@ 
 #define CONFIG_MUSB_GADGET
 #define CONFIG_MUSB_PIO_ONLY
 #define CONFIG_MUSB_DISABLE_BULK_COMBINE_SPLIT
-#define CONFIG_USB_GADGET_DUALSPEED
+#undef CONFIG_USB_GADGET_DUALSPEED
 #define CONFIG_USB_GADGET_VBUS_DRAW	2
 #define CONFIG_MUSB_HOST