[U-Boot] [PATCH] mpc83xx fdt: do not adjust clock frequency of external UARTs

Kim Phillips kim.phillips at freescale.com
Mon May 2 18:33:52 CEST 2011


On Fri, 15 Apr 2011 14:30:33 +0200
David Müller <d.mueller at elsoft.ch> wrote:

> The current 83xx FDT implementation adjusts the clock frequency of all
> 16550 UARTs found in the device tree. This behaviour is ok for the UARTs
> which are part of the SoC, but wrong for any additional external UART.
> 
> Signed-off-by: David Müller <d.mueller at elsoft.ch>
> 
> ---
>  arch/powerpc/cpu/mpc83xx/fdt.c |   27 +++++++++++++++++++++++++--
>  1 files changed, 25 insertions(+), 2 deletions(-)

(a) this is not an mpc83xx-specific issue

(b) the fdt code here should instead be modified to only adjust clock
properties on UART nodes contained within the SoC node, not the entire
fdt.

Any UARTs not a part of the SoC should get their clocks updated in
board/ code (or, as in this case, set manually in the device tree).

Kim



More information about the U-Boot mailing list