1. 28 Sep, 2007 2 commits
    • Jochen Friedrich's avatar
      [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem · bc638189
      Jochen Friedrich authored
      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: default avatarJochen Friedrich <jochen@scram.de>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      bc638189
    • Jochen Friedrich's avatar
      [POWERPC] Fix copy'n'paste typo in commproc.c · 83af919e
      Jochen Friedrich authored
      The powerpc version of commproc.c exports cpm_dpram_addr twice
      and cpm_dpram_phys not at all due to a typo. This patch fixes this
      problem.
      
      CC      arch/powerpc/sysdev/commproc.o
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kcrctab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kcrctab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kstrtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kstrtab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here
      make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1
      make: *** [arch/powerpc/sysdev] Error 2
      Signed-off-by: default avatarJochen Friedrich <jochen@scram.de>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      83af919e
  2. 26 Sep, 2007 38 commits