kirkwood devicetree respin

Nicolas Pitre nico at fluxnic.net
Wed Mar 21 05:03:23 EST 2012


On Tue, 20 Mar 2012, Jason Cooper wrote:

> On Tue, Mar 13, 2012 at 03:57:49PM +0000, Arnd Bergmann wrote:
> > On Monday 12 March 2012, Jason Cooper wrote:
> > > Only issue I have (I think unrelated) is that orion-ehci isn't coming
> > > up.  But these patches don't touch that, so I think it might be my
> > > config again.  Although it doesn't look like it...
> > 
> > I looked at your patches but also couldn't find anything that hints
> > at why ehci would break.
> 
> I figured it out.  Apparently, dreamplug is the first board to put root
> on usb-attached microsd card.  And I'm the first one to try to compile
> orion-ehci into the kernel.  ;-)
> 
> The following fix the problem:
> 
> diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c
> index 6c6a5a3..0808417 100644
> --- a/drivers/usb/host/ehci-orion.c
> +++ b/drivers/usb/host/ehci-orion.c
> @@ -318,3 +318,5 @@ static struct platform_driver ehci_orion_driver = {
>         .shutdown       = usb_hcd_platform_shutdown,
>         .driver.name    = "orion-ehci",
>  };
> +
> +module_platform_driver(ehci_orion_driver);
> 
> 
> 
> I figure most folks will build orion-ehci as a module and use an initrd.

Possibly, however that doesn't mean this shouldn't be fixed anyway.


Nicolas


More information about the devicetree-discuss mailing list