• Jochen Friedrich's avatar
    [POWERPC] Fix cpm_uart driver · b15773a0
    Jochen Friedrich authored
    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: default avatarJochen Friedrich <jochen@scram.de>
    b15773a0
cpm_uart_cpm1.h 916 Bytes