summaryrefslogtreecommitdiffstats
path: root/common/image.c
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 /common/image.c
parentbc8ed486b125452ba3bd8344f052f437329150c5 (diff)
downloadtalos-obmc-uboot-3dfe110149311425919e6d6a14b561b4207498f1.tar.gz
talos-obmc-uboot-3dfe110149311425919e6d6a14b561b4207498f1.zip
[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 'common/image.c')
-rw-r--r--common/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index 6458fb13f5..e838f65b69 100644
--- a/common/image.c
+++ b/common/image.c
@@ -891,6 +891,7 @@ int boot_get_ramdisk (int argc, char *argv[], bootm_headers_t *images,
images->fit_hdr_rd = fit_hdr;
images->fit_uname_rd = fit_uname_ramdisk;
+ images->fit_noffset_rd = rd_noffset;
break;
#endif
default:
OpenPOWER on IntegriCloud