Thread (28 messages) flat view 28 messages, 5 authors, 2007-05-05

Re: powerpc_flash_init(), wtf!?

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-05-03 21:44:33

    UARTs should be registered as of_device by the same bus probing mechanism 
(and there was an attempt at OF based driver, IIRC). 
There is more than an "attempt". There is one and it works :-)
arch/powerpc/kernel/legacy_serial.c only facilitates the old, platform device 
based approach.
This is a compromise for legacy port (ok, it did grow a bit beyond
legacy stuff but still...) mostly to allow for very early initialisation
of serial ports.

Ultimately, if we generalize of_platform_devices for serial ports,
however, we will not need to create platform devices there anymore.

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help