imximage: remove redundant setting of app_dest_ptr
authorTroy Kisky <troy.kisky@boundarydevices.com>
Wed, 3 Oct 2012 15:47:04 +0000 (15:47 +0000)
committerStefano Babic <sbabic@denx.de>
Sat, 20 Oct 2012 15:13:01 +0000 (17:13 +0200)
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Stefano Babic <sbabic@denx.de>
tools/imximage.c

index c917036..bda1a75 100644 (file)
@@ -213,7 +213,6 @@ static void set_imx_hdr_v1(struct imx_header *imxhdr, uint32_t dcd_len,
        /* Set magic number */
        fhdr_v1->app_code_barker = APP_CODE_BARKER;
 
-       fhdr_v1->app_dest_ptr = params->addr;
        fhdr_v1->app_dest_ptr = params->ep - imxhdr->flash_offset -
                sizeof(struct imx_header);
        fhdr_v1->app_code_jump_vector = params->ep;