summaryrefslogtreecommitdiff
path: root/arch/avr32
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2010-06-29 23:42:07 +0400
committerKumar Gala <galak@kernel.crashing.org>2010-07-11 20:04:08 +0400
commit77154a2026ee5cb2ce05a7d370c16e4c123028e5 (patch)
treeacd8ef9ff3e7d21f9f6deab764d058dbf79f7d7f /arch/avr32
parentaf71bcfeaaaad92147922282341d394093a4fc9b (diff)
downloadlinux-77154a2026ee5cb2ce05a7d370c16e4c123028e5.tar.xz
powerpc/fsl-booke: Fix address issue when using relocatable kernels
When booting a relocatable kernel it needs to jump to the correct start address, which for BookE parts is usually unchanged regardless of the physical memory offset. Recent changes cause problems with how we calculate the start address, it was always adding the RMO into the start address which is incorrect. This patch only adds in the RMO offset if we are in the kexec code path, as it needs the RMO to work correctly. Instead of adding the RMO offset in in the common code path, we can just set r6 to the RMO offset in the kexec code path instead of to zero, and finally perform the masking in the common code path Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions