kirkwood devicetree respin

Jason Cooper jason at lakedaemon.net
Wed Mar 21 04:22:38 EST 2012


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.
In the meantime, I'll carry this patch in my stack for v3.5.  Unless you
would prefer to do something different.

thx,

Jason.


More information about the devicetree-discuss mailing list