Thread (9 messages) flat view 9 messages, 2 authors, 2011-07-12
STALE5528d

[RFC PATCH 2/7] powerpc: Permit non-zero physical start address for PPC44x

From: Michal Simek <monstr@monstr.eu>
Date: 2011-06-16 14:14:39
Subsystem: linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Linus Torvalds

From: John Williams <redacted>

The initial TLB entry is 256M, meaning that the physical base address must be
256M aligned.

Signed-off-by: John Williams <redacted>
---
 arch/powerpc/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index d00131c..45c9683 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -845,7 +845,7 @@ config KERNEL_START
 
 config PHYSICAL_START_BOOL
 	bool "Set physical address where the kernel is loaded"
-	depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
+	depends on ADVANCED_OPTIONS && FLATMEM && (FSL_BOOKE || 44x)
 	help
 	  This gives the physical address where the kernel is loaded.
 
@@ -858,6 +858,7 @@ config PHYSICAL_START
 
 config PHYSICAL_ALIGN
 	hex
+	default "0x10000000" if 44x
 	default "0x04000000" if FSL_BOOKE
 	help
 	  This value puts the alignment restrictions on physical address
-- 
1.5.5.6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help