]> Git Repo - u-boot.git/commit
image: Support FDTs already loaded at their load address
authorStephen Warren <[email protected]>
Tue, 1 Nov 2011 06:28:21 +0000 (06:28 +0000)
committerWolfgang Denk <[email protected]>
Tue, 6 Mar 2012 21:18:48 +0000 (22:18 +0100)
commite37ae40e9dec9af417c19de72f76becebf160730
tree0c0a995c06c4153459089636910258473f570db3
parent23498935faa59922c90f636e1ce8364510803819
image: Support FDTs already loaded at their load address

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 <[email protected]>
common/image.c
This page took 0.032744 seconds and 4 git commands to generate.