|
@@ -1,4 +1,4 @@
|
|
-/* arch/arm/plat-omap/include/mach/debug-macro.S
|
|
|
|
|
|
+/* arch/arm/mach-omap2/include/mach/debug-macro.S
|
|
*
|
|
*
|
|
* Debugging macro include header
|
|
* Debugging macro include header
|
|
*
|
|
*
|
|
@@ -14,18 +14,7 @@
|
|
.macro addruart,rx
|
|
.macro addruart,rx
|
|
mrc p15, 0, \rx, c1, c0
|
|
mrc p15, 0, \rx, c1, c0
|
|
tst \rx, #1 @ MMU enabled?
|
|
tst \rx, #1 @ MMU enabled?
|
|
-#ifdef CONFIG_ARCH_OMAP1
|
|
|
|
- moveq \rx, #0xff000000 @ physical base address
|
|
|
|
- movne \rx, #0xfe000000 @ virtual base
|
|
|
|
- orr \rx, \rx, #0x00fb0000
|
|
|
|
-#ifdef CONFIG_OMAP_LL_DEBUG_UART3
|
|
|
|
- orr \rx, \rx, #0x00009000 @ UART 3
|
|
|
|
-#endif
|
|
|
|
-#if defined(CONFIG_OMAP_LL_DEBUG_UART2) || defined(CONFIG_OMAP_LL_DEBUG_UART3)
|
|
|
|
- orr \rx, \rx, #0x00000800 @ UART 2 & 3
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
-#elif CONFIG_ARCH_OMAP2
|
|
|
|
|
|
+#ifdef CONFIG_ARCH_OMAP2
|
|
moveq \rx, #0x48000000 @ physical base address
|
|
moveq \rx, #0x48000000 @ physical base address
|
|
movne \rx, #0xfa000000 @ virtual base
|
|
movne \rx, #0xfa000000 @ virtual base
|
|
orr \rx, \rx, #0x0006a000
|
|
orr \rx, \rx, #0x0006a000
|