sh: kexec: Add PHYSICAL_START
authorSimon Horman <horms@verge.net.au>
Thu, 15 Sep 2011 11:13:00 +0000 (20:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 28 Oct 2011 06:03:43 +0000 (15:03 +0900)
commite66ac3f26aef131f5ca60350d25fba95f43acd0d
tree480337b09468bb5e8d1660c218d04a1a63b940e3
parentd11584a0449f881181dc94dd697d3f3896c15c73
sh: kexec: Add PHYSICAL_START

Add PHYSICAL_START kernel configuration parameter to set the address at
which the kernel should be loaded.

It has been observed on an sh7757lcr that simply modifying MEMORY_START
does not achieve this goal for 32bit sh. This is due to MEMORY_OFFSET in
arch/sh/kernel/vmlinux.lds.S bot being based on MEMORY_START on such
systems.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/boot/Makefile
arch/sh/include/asm/page.h
arch/sh/kernel/vmlinux.lds.S
arch/sh/mm/init.c