diff options
author | Jack Miller <jack@codezen.org> | 2011-04-14 18:32:08 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-05 23:32:41 -0400 |
commit | a0496d450ab8c17f6c4d86979b1f6ba486fe9365 (patch) | |
tree | accb4fa5d2695770a1c6992f7437df57e9f14868 /arch/powerpc/include/asm/reg_a2.h | |
parent | a1d0d98daf6ce580d017a43b09fe30a375cde3e8 (diff) |
powerpc: Add early debug for WSP platforms
Signed-off-by: Jack Miller <jack@codezen.org>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/reg_a2.h')
-rw-r--r-- | arch/powerpc/include/asm/reg_a2.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/reg_a2.h b/arch/powerpc/include/asm/reg_a2.h index 3ba9c6f096fc..3d52a1132f3d 100644 --- a/arch/powerpc/include/asm/reg_a2.h +++ b/arch/powerpc/include/asm/reg_a2.h | |||
@@ -110,6 +110,15 @@ | |||
110 | #define TLB1_UR ASM_CONST(0x0000000000000002) | 110 | #define TLB1_UR ASM_CONST(0x0000000000000002) |
111 | #define TLB1_SR ASM_CONST(0x0000000000000001) | 111 | #define TLB1_SR ASM_CONST(0x0000000000000001) |
112 | 112 | ||
113 | #ifdef CONFIG_PPC_EARLY_DEBUG_WSP | ||
114 | #define WSP_UART_PHYS 0xffc000c000 | ||
115 | /* This needs to be careful chosen to hit a !0 congruence class | ||
116 | * in the TLB since we bolt it in way 3, which is already occupied | ||
117 | * by our linear mapping primary bolted entry in CC 0. | ||
118 | */ | ||
119 | #define WSP_UART_VIRT 0xf000000000001000 | ||
120 | #endif | ||
121 | |||
113 | /* A2 erativax attributes definitions */ | 122 | /* A2 erativax attributes definitions */ |
114 | #define ERATIVAX_RS_IS_ALL 0x000 | 123 | #define ERATIVAX_RS_IS_ALL 0x000 |
115 | #define ERATIVAX_RS_IS_TID 0x040 | 124 | #define ERATIVAX_RS_IS_TID 0x040 |