Commit 1b26d7ab authored by Tony Lindgren's avatar Tony Lindgren Committed by Russell King

[ARM PATCH] 1905/1: Add OMAP compressed boot debug serial output

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
parent b3fe2c66
...@@ -86,6 +86,20 @@ ...@@ -86,6 +86,20 @@
.macro writeb, rb .macro writeb, rb
strb \rb, [r3, #0] strb \rb, [r3, #0]
.endm .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 #else
#error no serial architecture defined #error no serial architecture defined
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment