diff options
author | Matthew Leach <matthew.leach@arm.com> | 2012-09-21 18:56:02 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-09-26 22:58:36 +0100 |
commit | 4cabd1d9625c7d88acd143f4021fbef75394f154 (patch) | |
tree | 3c232277c6bd94c7c4f17714de2104652735bdfb /arch/arm/mach-at91/at91sam9x5.c | |
parent | 559a593905e583fca23229b916c016e5211c6766 (diff) |
ARM: 7539/1: kexec: scan for dtb magic in segments
This patch allows a dtb to be passed to a new kernel using the kexec
mechinism.
When loading segments from userspace, scan each segment's first four
bytes for the dtb magic. If this is found set the kexec_boot_atags
parameter to the relocate_kernel code to the phyical address of this
segment.
Reviewed-by: Simon Horman <horms@verge.net.au>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Matthew Leach <matthew.leach@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9x5.c')
0 files changed, 0 insertions, 0 deletions