From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus =?iso-8859-1?Q?Klotzb=FCcher?= Date: Wed, 19 Dec 2007 20:36:08 +0100 Subject: [U-Boot-Users] Problems with usb storage devices on MPC5200 /TQM5200 In-Reply-To: <47F3F98010FF784EBEE6526EAAB078D1024F881C@tq-mailsrv.tq-net.de> (Martin Krause's message of "Mon, 3 Dec 2007 13:49:10 +0100") References: <47F3F98010FF784EBEE6526EAAB078D1024F881C@tq-mailsrv.tq-net.de> Message-ID: <87r6hiiijb.fsf@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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