From: Wolfgang Denk Date: Tue, 06 Mar 2012 22:18:59 +0100 Subject: [U-Boot] [PATCH v2 2/3] image: Support FDTs already loaded at their load address In-Reply-To: <1320164902-24190-2-git-send-email-swarren@nvidia.com> References: <1320164902-24190-1-git-send-email-swarren@nvidia.com> <1320164902-24190-2-git-send-email-swarren@nvidia.com> Message-ID: <20120306211859.72FE6202D76@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stephen Warren, In message <1320164902-24190-2-git-send-email-swarren@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 > --- > 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