public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Markus Klotzbücher" <mk@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problems with usb storage devices on MPC5200 /TQM5200
Date: Wed, 19 Dec 2007 20:36:08 +0100	[thread overview]
Message-ID: <87r6hiiijb.fsf@denx.de> (raw)
In-Reply-To: <47F3F98010FF784EBEE6526EAAB078D1024F881C@tq-mailsrv.tq-net.de> (Martin Krause's message of "Mon, 3 Dec 2007 13:49:10 +0100")

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@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

  reply	other threads:[~2007-12-19 19:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 13:24 [U-Boot-Users] Problems with usb storage devices on MPC5200 / TQM5200 Martin Krause
2007-11-19 15:04 ` Markus Klotzbücher
2007-11-19 15:43   ` Martin Krause
2007-11-19 15:53     ` Wolfgang Denk
2007-11-19 16:16       ` Martin Krause
2007-12-03 12:49         ` [U-Boot-Users] Problems with usb storage devices on MPC5200 /TQM5200 Martin Krause
2007-12-19 19:36           ` Markus Klotzbücher [this message]
2007-12-21 10:22             ` Martin Krause
2007-12-21 10:30               ` Markus Klotzbücher
2008-01-11 13:33                 ` Martin Krause
2007-12-07 10:38       ` [U-Boot-Users] Problems with usb storage devices on MPC5200 / TQM5200 Stefan Strobl
2007-12-07 12:24         ` [U-Boot-Users] Problems with usb storage devices on MPC5200 /TQM5200 Martin Krause
2007-12-07 13:42           ` Stefan Strobl
2007-12-17  5:43             ` ikjoon
     [not found] <87okrjs6f8.fsf@denx.de>
2008-01-09  9:03 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6hiiijb.fsf@denx.de \
    --to=mk@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox