[PATCH#2 2/4] [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem
Jochen Friedrich
jochen at scram.de
Tue Sep 25 03:14:57 EST 2007
cpm_dpram_addr returns physical memory of the DP RAM instead of
iomapped virtual memory. As there usually is a 1:1 MMU map of
the IMMR area, this is often not noticed. However, cpm_dpram_phys
assumes this iomapped virtual memory and returns garbage on the
1:1 mapped memory causing CPM1 uart console to fail.
This patch fixes the problem (copied from the powerpc tree).
Signed-off-by: Jochen Friedrich <jochen at scram.de>
---
arch/ppc/8xx_io/commproc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e99a679ff14fb0073efd9220f5aa933e47516202.diff
Type: text/x-patch
Size: 399 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070924/f88e0d3b/attachment.bin
More information about the Linuxppc-embedded
mailing list