[POWERPC] Get default baud rate in udbg_scc
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 3 Oct 2006 04:47:58 +0000 (14:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 4 Oct 2006 04:52:31 +0000 (14:52 +1000)
commit2ec6ef1034632c67896955d52bf8efb99195b742
tree70d72ae09ccc2525be7769935eed57909c551695
parent54c9941288e86fad983e307e540808e155b16b34
[POWERPC] Get default baud rate in udbg_scc

On powermac, when open firmware is set to use the SCC for console, this
causes the low level udbg early console to read back the speed and
re-use it instead of hard coding 57600 bps. This doesn't (yet) pass the
detected speed all the way to pmac_zilog though.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/udbg_scc.c