From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox <barebox@lists.infradead.org>
Subject: Re: add_usb_ehci_device() don't set resource size
Date: Wed, 24 Aug 2011 18:27:40 +0200 [thread overview]
Message-ID: <20110824162740.GH31404@pengutronix.de> (raw)
In-Reply-To: <CAA4bVAEHnV+d8JMXqTKtNWKdvfmXaS=S8S=KQBPRTQhbt8EnJg@mail.gmail.com>
On Wed, Aug 24, 2011 at 06:30:35PM +0400, Antony Pavlov wrote:
> Hi!
>
> add_usb_ehci_device() don't set resource size, it only set start address:
Yeah, the resource size is barely handled in barebox. Even if they
exist, most if not all drivers do not check it.
> So on my Tegra board I have this:
>
> toshiba ac100> / devinfo ehci0
> resources:
> num : 0
> start : 0xc5000100
> size : 0x00000000
> ^^^^^^^^^^
> num : 1
> start : 0xc5000140
> size : 0x00000000
> ^^^^^^^^^^
This does not look good, patches welcome.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-08-24 16:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-24 14:30 Antony Pavlov
2011-08-24 16:27 ` Sascha Hauer [this message]
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=20110824162740.GH31404@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/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