]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/bootm.c
tools: image: fix "algo" property of public key for verified boot
[people/ms/u-boot.git] / common / bootm.c
index 32b3ea8e2d093a203ae67f73ee03a207ba39f212..9493a306cd038d86b08575dba7cf97a1238933f6 100644 (file)
@@ -810,9 +810,6 @@ static const void *boot_get_kernel(cmd_tbl_t *cmdtp, int flag, int argc,
 
        bootstage_mark(BOOTSTAGE_ID_CHECK_MAGIC);
 
-       /* copy from dataflash if needed */
-       img_addr = genimg_get_image(img_addr);
-
        /* check image type, for FIT images get FIT kernel node */
        *os_data = *os_len = 0;
        buf = map_sysmem(img_addr, 0);