summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-03-12 10:32:59 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-03-12 10:32:59 +0100
commit3dfe110149311425919e6d6a14b561b4207498f1 (patch)
tree04db3063ff0395bc02327123307d76695042f025 /lib_ppc
parentbc8ed486b125452ba3bd8344f052f437329150c5 (diff)
downloadu-boot-imx-3dfe110149311425919e6d6a14b561b4207498f1.zip
u-boot-imx-3dfe110149311425919e6d6a14b561b4207498f1.tar.gz
u-boot-imx-3dfe110149311425919e6d6a14b561b4207498f1.tar.bz2
[new uImage] Add node offsets for FIT images listed in struct bootm_headers
This patch adds new node offset fields to struct bootm_headers and updates bootm_headers processing code to make use of them. Saved node offsets allow to avoid repeating fit_image_get_node() calls. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/bootm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c
index 60bc04b..4d8ef35 100644
--- a/lib_ppc/bootm.c
+++ b/lib_ppc/bootm.c
@@ -585,6 +585,7 @@ static int boot_get_fdt (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
images->fit_hdr_fdt = fit_hdr;
images->fit_uname_fdt = fit_uname_fdt;
+ images->fit_noffset_fdt = fdt_noffset;
break;
} else
#endif