ARM: tegra: don't include iomap.h from debug-macro.S
authorStephen Warren <swarren@nvidia.com>
Fri, 19 Oct 2012 18:27:58 +0000 (12:27 -0600)
committerStephen Warren <swarren@nvidia.com>
Fri, 16 Nov 2012 19:22:17 +0000 (12:22 -0700)
commit7a28106509463529d7b0408d3f5a0ab99f6810ee
tree8d81641bb678c2a0055049abf14b48dcd28f72a4
parent1a6d3da8bc45502940efb19604d4c94c470ef6be
ARM: tegra: don't include iomap.h from debug-macro.S

In order to move Tegra's debug-macro.S to a common location for single
zImage, it must not rely on any machine-specific header files such as
<mach/iomap.h>. Duplicate the few physical address definitions that
debug-macro.S relies upon directly into the file.

To avoid tegra_io_desc[] requiring shared knowledge of the UART
mapping's virtual address, use a virtual address outside the ranges
in tegra_io_desc[]. Call debug_ll_io_init() to propagate the mapping
beyond the early pages tables.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/include/mach/debug-macro.S
arch/arm/mach-tegra/io.c