]> git.karo-electronics.de Git - mv-sheeva.git/commit
omap: Fix DEBUG_LL uart to access phys addr when MMU isn't enable
authorJason Wang <jason77.wang@gmail.com>
Tue, 3 Aug 2010 03:44:18 +0000 (11:44 +0800)
committerTony Lindgren <tony@atomide.com>
Wed, 4 Aug 2010 09:17:53 +0000 (12:17 +0300)
commit7e788b4289bb025a96e327c604cb2db92e17108f
tree6509b18c25f888a60e7222739e5ea5a0be96d639
parent331d919af416b9b92428947ef8c535a3e24c6b31
omap: Fix DEBUG_LL uart to access phys addr when MMU isn't enable

Now we use a memory address to store the debug port info, So we need
to read/write this address when we choose DEBUG_LL. When MMU isn't
enable(I.E. the begining part of init stage of the linux kernel boot),
we need to access physical address instead of virtual address,
otherwise the kernel will crash.

Signed-off-by: Jason Wang <jason77.wang@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/include/mach/debug-macro.S
arch/arm/mach-omap2/include/mach/debug-macro.S