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

Michal Simek monstr at monstr.eu
Fri Jun 17 00:14:23 EST 2011


From: John Williams <john.williams at petalogix.com>

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

Signed-off-by: John Williams <john.williams at petalogix.com>
---
 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



More information about the Linuxppc-dev mailing list