]> git.baikalelectronics.ru Git - kernel.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)
commit1db4976b1669895f819ad5ed88e34c1908d9dda3
tree6509b18c25f888a60e7222739e5ea5a0be96d639
parent9f9cc1a4ba86cfab122aba5255b1dd4beb96d66d
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