[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>

authored by Jochen Friedrich and committed by Kumar Gala d2146028 bc638189

+1 -1
+1 -1
drivers/serial/cpm_uart/cpm_uart_cpm1.h
··· 37 37 up->smc_tfcr = SMC_EB; 38 38 } 39 39 40 - #define DPRAM_BASE ((unsigned char *)&cpmp->cp_dpmem[0]) 40 + #define DPRAM_BASE ((unsigned char *)cpm_dpram_addr(0)) 41 41 42 42 #endif