ARM: imx: move debug macros to include/debug
authorShawn Guo <shawn.guo@linaro.org>
Sun, 16 Sep 2012 12:50:45 +0000 (20:50 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 15 Oct 2012 02:05:42 +0000 (10:05 +0800)
commit6dde5ac5220b3b9c28f82f291b64eca3e5ebe80d
treecdd1a0b89e2532a71c7270cb4c062b2f1e8ccead
parente69dc9a91eeb0387e08d8e1d0e576c88b28902fc
ARM: imx: move debug macros to include/debug

Move imx debug-macro.S over to common debug macro directory.  It
removes the inclusion to hardware.h by hard-coding the physical
address of uart port and copying IMX_IO_P2V from hardware.h.

Since we will need a common solution, which might use a fixed virtual
address for uart port across platforms, we make a copy of IMX_IO_P2V
here as a temporary solution to enable low-level debug for imx
multi-platform build.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig.debug
arch/arm/include/debug/imx.S [new file with mode: 0644]
arch/arm/mach-imx/include/mach/debug-macro.S [deleted file]