[0/14] Ebony support, 2nd spin

Arnd Bergmann arnd at arndb.de
Wed Feb 21 20:06:58 EST 2007


On Wednesday 21 February 2007 01:35, David Gibson wrote:
> Err.. no.  On my system legacy_serial doesn't touch the ports, but I'm
> getting console output via of_serial just fine.  The console is
> initialized rather later than would be ideal, but it works.
> 
> I know that BenH has expressed the strong preference that
> legacy_serial should be reverted to only handling legacy ISA ports,
> not SoC and other hardwired ports.

Ok, my impression on this was that of_serial is the right solution
in general, but it often gets initialized too late to debug some
of the interesting parts of the boot sequence.

Unless we take handling of soc serial ports completely out of
legacy_serial, I think it should handle ebony just like the other
boards.

Because of the way the serial layer works, it does exactly the
right thing if you have both drivers enabled, i.e. it starts
out using the first port when legacy_serial detects it, but later
of_serial finds it as well, and wires up all the logic to connect
both the serial ports to the right device tree nodes.

	Arnd <><



More information about the Linuxppc-dev mailing list