[PATCH V2 3/3] ARM: tegra: move debug-macro.S to include/debug
From: Russell King - ARM Linux <hidden>
Date: 2012-10-18 13:54:44
Also in:
linux-tegra
From: Russell King - ARM Linux <hidden>
Date: 2012-10-18 13:54:44
Also in:
linux-tegra
On Thu, Oct 18, 2012 at 08:47:56AM -0500, Rob Herring wrote:
Here is what I mentioned previously. This removes the static mapping from the platforms. This is untested and probably breaks on different DEBUG_LL options. For now, platforms call debug_ll_io_init, but once all platforms are converted, this can be called from devicemaps_init.
There's a problem with this approach. What if the platform specifically sets the debug addresses to be within one of it's existing mappings (which is definitely what you'd want to do with 8250-based UARTs attached to a PCI bus.) This isn't going to work in that case unless we split the debug mapping from the PCI IO space mapping.