]> git.hungrycats.org Git - linux/commitdiff
[ARM PATCH] 1905/1: Add OMAP compressed boot debug serial output
authorTony Lindgren <tony@com.rmk.(none)>
Sat, 12 Jun 2004 22:15:57 +0000 (23:15 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 12 Jun 2004 22:15:57 +0000 (23:15 +0100)
Patch from Tony Lindgren

This patch adds OMAP compressed image debug serial output.

This patch contains updates to the following files:
   b/arch/arm/boot/compressed/head.S

arch/arm/boot/compressed/head.S

index c7e5439724f2064c71b13ef6895481ec614cdaed..4803446067b8f8adcb54fd26ca5663f4b590781d 100644 (file)
                .macro  writeb, rb
                strb    \rb, [r3, #0]
                .endm
+#elif defined(CONFIG_ARCH_OMAP)
+               .macro  loadsp, rb
+               mov     \rb, #0xff000000        @ physical base address
+               add     \rb, \rb, #0x00fb0000
+#if defined(CONFIG_OMAP_LL_DEBUG_UART2) || defined(CONFIG_OMAP_LL_DEBUG_UART3)
+               add     \rb, \rb, #0x00000800
+#endif
+#ifdef CONFIG_OMAP_LL_DEBUG_UART3
+               add     \rb, \rb, #0x00009000
+#endif
+               .endm
+               .macro  writeb, rb
+               strb    \rb, [r3]
+               .endm
 #else
 #error no serial architecture defined
 #endif