8xxx-fdt: set ns16550 clock from CFG_NS16550_CLK, not bi_busfreq
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 9 Jul 2008 17:23:05 +0000 (13:23 -0400)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Mon, 14 Jul 2008 23:56:51 +0000 (18:56 -0500)
commit71074abbe0c76429577aff58aeff0a24ad210b23
tree4652ac4855c0b07ca8d4de2f7fcec061898af6f7
parent24ef76f320fbadf074105229826514db140f939f
8xxx-fdt: set ns16550 clock from CFG_NS16550_CLK, not bi_busfreq

Some boards that have external 16550 UARTs don't have a direct
tie between bi_busfreq and the clock used for the UARTs.  Boards
that do have such a tie should set CFG_NS16550_CLK to be
get_bus_freq(0) -- which most of them do already.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/fdt.c
cpu/mpc85xx/fdt.c
cpu/mpc86xx/fdt.c