From: Matthew Leach Date: Fri, 21 Sep 2012 17:56:02 +0000 (+0100) Subject: ARM: 7539/1: kexec: scan for dtb magic in segments X-Git-Tag: omap-for-v3.7-rc1/fixes-hwmod-clock-signed-v3~1^2~2^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cabd1d9625c7d88acd143f4021fbef75394f154;p=pandora-kernel.git 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 Reviewed-by: Will Deacon Signed-off-by: Matthew Leach Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed