[PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem
authorJochen Friedrich <jochen@scram.de>
Fri, 21 Sep 2007 11:15:07 +0000 (13:15 +0200)
committerJochen Friedrich <jochen@scram.de>
Tue, 25 Sep 2007 18:48:00 +0000 (20:48 +0200)
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@scram.de>

No differences found