]> git.sur5r.net Git - u-boot/commitdiff
tools/image-host: fix sign-images bug
authorHeiko Schocher <hs@denx.de>
Mon, 3 Mar 2014 11:19:23 +0000 (12:19 +0100)
committerTom Rini <trini@ti.com>
Fri, 21 Mar 2014 20:39:31 +0000 (16:39 -0400)
property "sign-images" is never found, fix this.

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
tools/image-host.c

index 0d5c88ca73c6894fded23b5c4e0359c5cb63acdf..8e185ec5df3ad460e65863369c4ef93fae569d9a 100644 (file)
@@ -403,7 +403,7 @@ static int fit_config_get_hash_list(void *fit, int conf_noffset,
                goto err_mem;
 
        /* Get a list of images that we intend to sign */
-       prop = fit_config_get_image_list(fit, conf_noffset, &len,
+       prop = fit_config_get_image_list(fit, sig_offset, &len,
                                        &allow_missing);
        if (!prop)
                return 0;