commit | d214602804a85e5da68b745ae69d9beaa5bedc93 | [log] [tgz] |
---|---|---|
author | Jochen Friedrich <jochen@scram.de> | Mon Sep 24 19:15:43 2007 +0200 |
committer | Kumar Gala <galak@kernel.crashing.org> | Fri Sep 28 10:26:30 2007 -0500 |
tree | 9e183a9a54b89f20a3366f71234719e5510f73dd | |
parent | bc63818931ea55c54d6e59b7d38bff8f295dc8c1 [diff] |
[POWERPC] Fix cpm_uart driver for cpm1 machines in cpm_uart_cpm1.h, DPRAM_BASE is assigned an address derived from cpmp. On ARC=ppc, this is a physical address with 1:1 DMA mapping which can't be used for arithmetric compare operations with virtual addresses returned by cpm_dpram_addr. This patch changes the assignment to use cpm_dpram_addr as well, like in cpm_uart_cpm2.h. Signed-off-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>