add_usb_ehci_device() don't set resource size
Sascha Hauer
s.hauer at pengutronix.de
Wed Aug 24 12:27:40 EDT 2011
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 |
More information about the barebox
mailing list