[PATCH] ppc32: In the boot code, don't rely on BASE_BAUD directly
authorTom Rini <trini@kernel.crashing.org>
Fri, 9 Sep 2005 20:01:47 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:29 +0000 (13:57 -0700)
commit66b375bf7d9c995fd6169191c3862071e710f456
tree3a6e724785c90a92c6a7a8159a6438d95cd912a9
parent99cc2192132ab28c495d015ed2e95dc29e2a27ad
[PATCH] ppc32: In the boot code, don't rely on BASE_BAUD directly

Modifies serial_init to get base baud rate from the rs_table entry instead
of BAUD_BASE.  This patch eliminates duplication between the
SERIAL_PORT_DFNS macro and BAUD_BASE.  Without the patch, if a port set the
baud rate in SERIAL_PORT_DFNS, but did not update BASE_BAUD, the BASE_BAUD
value would still be used.

Signed-off-by: Grant Likely <grant.likely@gdcanada.com>
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/boot/common/ns16550.c