diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-11-01 06:28:21 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-06 22:18:48 +0100 |
commit | e37ae40e9dec9af417c19de72f76becebf160730 (patch) | |
tree | 0c0a995c06c4153459089636910258473f570db3 /common/cmd_nand.c | |
parent | 23498935faa59922c90f636e1ce8364510803819 (diff) | |
download | u-boot-imx-e37ae40e9dec9af417c19de72f76becebf160730.zip u-boot-imx-e37ae40e9dec9af417c19de72f76becebf160730.tar.gz u-boot-imx-e37ae40e9dec9af417c19de72f76becebf160730.tar.bz2 |
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 <swarren@nvidia.com>
Diffstat (limited to 'common/cmd_nand.c')
0 files changed, 0 insertions, 0 deletions