diff options
Diffstat (limited to 'include/asm-powerpc/mmu-44x.h')
-rw-r--r-- | include/asm-powerpc/mmu-44x.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-powerpc/mmu-44x.h b/include/asm-powerpc/mmu-44x.h index 7bbc37e27d3c..d5ce7a8dfe9f 100644 --- a/include/asm-powerpc/mmu-44x.h +++ b/include/asm-powerpc/mmu-44x.h | |||
@@ -64,7 +64,13 @@ typedef struct { | |||
64 | 64 | ||
65 | #endif /* !__ASSEMBLY__ */ | 65 | #endif /* !__ASSEMBLY__ */ |
66 | 66 | ||
67 | #ifndef CONFIG_PPC_EARLY_DEBUG_44x | ||
67 | #define PPC44x_EARLY_TLBS 1 | 68 | #define PPC44x_EARLY_TLBS 1 |
69 | #else | ||
70 | #define PPC44x_EARLY_TLBS 2 | ||
71 | #define PPC44x_EARLY_DEBUG_VIRTADDR (ASM_CONST(0xf0000000) \ | ||
72 | | (ASM_CONST(CONFIG_PPC_EARLY_DEBUG_44x_PHYSLOW) & 0xffff)) | ||
73 | #endif | ||
68 | 74 | ||
69 | /* Size of the TLBs used for pinning in lowmem */ | 75 | /* Size of the TLBs used for pinning in lowmem */ |
70 | #define PPC_PIN_SIZE (1 << 28) /* 256M */ | 76 | #define PPC_PIN_SIZE (1 << 28) /* 256M */ |