]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda2a7336e0f0db9afb1981695a0d6a494ffbd77e
tree8d81641bb678c2a0055049abf14b48dcd28f72a4
parent3d4a48d44d14f7ff34ffbb1aeecca7309ecef5eb
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