[PATCH4/4] [POWERPC] Fix cpm_uart driver

Scott Wood scottwood at freescale.com
Tue Sep 25 01:57:57 EST 2007


Jochen Friedrich wrote:
> 
> In cpm_uart_core, functions cpm_uart_init_bd and cpm_uart_init_scc
> an offset into DP RAM is calculated by substracting a physical
> memory constant from an virtual address. This patch fixes the
> problem by converting the virtual address into a physical
> first.

Huh?  DPRAM_BASE is a virtual address.  With this patch, you'd be 
subtracting a virtual address from a physical address.

-Scott


More information about the Linuxppc-embedded mailing list