[U-Boot] [PATCH v2 2/3] image: Support FDTs already loaded at their load address

Wolfgang Denk wd at denx.de
Tue Mar 6 22:18:59 CET 2012

Dear Stephen Warren,

In message <1320164902-24190-2-git-send-email-swarren at nvidia.com> you wrote:
> boot_get_fdt() expects a uImage-wrapped FDT to be loaded to a staging
> location, and then memmove()s it to the load address specified in the
> header. This change enhances boot_get_fdt() to detect when the image has
> already been loaded to the correct address, and skip this memmove(). The
> detection algorithm was written to match the equivalent for the kernel;
> see bootm_load_os()'s IH_COMP_NONE case.
> v2: New patch
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  common/image.c |   13 ++++++++++---
>  1 files changed, 10 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Death, when unnecessary, is a tragic thing.
	-- Flint, "Requiem for Methuselah", stardate 5843.7

More information about the U-Boot mailing list