arm: use addruart macro to establish debug mappings
authorJeremy Kerr <jeremy.kerr@canonical.com>
Wed, 7 Jul 2010 03:19:48 +0000 (11:19 +0800)
committerNicolas Pitre <nico@fluxnic.net>
Wed, 20 Oct 2010 04:27:34 +0000 (00:27 -0400)
commitc293393faa8e11a5a80a9e358718432b8697f451
treed2d10ba089773e0f1a5742de7a40f8830e272935
parent0ea1293009826da45e1019f45dfde1e557bb30df
arm: use addruart macro to establish debug mappings

Since we can get both physical and virtual addresses from the addruart
macro, we can use this to establish the debug mappings.

In the case of CONFIG_DEBUG_ICEDCC, we don't need any mappings, but
may still need to setup r7 correctly.

Incorporating ASM changes from Nicolas Pitre <npitre@fluxnic.net>.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Tested-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/kernel/head.S