diff mbox

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

Message ID 1308233668-24166-3-git-send-email-monstr@monstr.eu (mailing list archive)
State Superseded
Delegated to: Josh Boyer
Headers show

Commit Message

Michal Simek June 16, 2011, 2:14 p.m. UTC
From: John Williams <john.williams@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@petalogix.com>
---
 arch/powerpc/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff mbox

Patch

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