[linux-yocto] [PATCH 27/70] powerpc/44x: allow the kernel to be run from a non-zero physical address

Paul Butler butler.paul at gmail.com
Mon Jun 10 18:45:50 PDT 2013


From: Kevin Hao <kexin.hao at windriver.com>

CONFIG_PHYSICAL_START always be used to set the LOAD program header
physical address field in the resulting ELF image. And the kernel
also uses this address to set the load and entry address when creating
an uImage. So we need to set this physical address properly when we
have to load the uImage to a non-zero physical address.

Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
 arch/powerpc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index b2a13ca..619756f 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -916,7 +916,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.
 
-- 
1.8.3




More information about the linux-yocto mailing list