[U-Boot-Users] Problems with usb storage devices on MPC5200 /TQM5200

Markus Klotzbücher mk at denx.de
Wed Dec 19 20:36:08 CET 2007


Hi Martin,

I finally got around to look into this. It was tested and worked with
earlier U-Boot versions until some time ago I made big endian OHCI
controllers a CFG_ option. With this option added to the TQM5200
config, USB work fine again.

Sorry, don't know how I missed this.

Attached patch fixes this.

Best regards

Markus Klotzbücher



The MPC5200 OHCI controller operates in big endian, so
CFG_OHCI_BE_CONTROLLER must be defined for it to work properly.

Signed-off-by: Markus Klotzbuecher <mk at denx.de>

diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index 7ecc275..9a0e9b8 100644
--- a/include/configs/TQM5200.h
+++ b/include/configs/TQM5200.h
@@ -131,6 +131,7 @@
 /* USB */
 #if defined(CONFIG_STK52XX) || defined(CONFIG_FO300)
 #define CONFIG_USB_OHCI_NEW
+#define CFG_OHCI_BE_CONTROLLER
 #define CONFIG_USB_STORAGE
 #define CONFIG_CMD_FAT
 #define CONFIG_CMD_USB


--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de




More information about the U-Boot mailing list