arm: use addruart macro to establish debug mappings
authorJeremy Kerr <jeremy.kerr@canonical.com>
Tue, 19 Oct 2010 22:14:38 +0000 (15:14 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 19 Oct 2010 22:16:02 +0000 (15:16 -0700)
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>

No differences found