commit | b15773a06e5feee192f83c578222b45d81d1edc9 | [log] [tgz] |
---|---|---|
author | Jochen Friedrich <jochen@scram.de> | Mon Sep 24 18:54:41 2007 +0200 |
committer | Jochen Friedrich <jochen@scram.de> | Tue Sep 25 20:48:15 2007 +0200 |
tree | 9861192e356db8619f476d5b9a1c1814219b4236 | |
parent | 7a6d44f79f60f2b106e2a820503fa7c1814a13d0 [diff] |
[POWERPC] Fix cpm_uart driver 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>