summaryrefslogtreecommitdiff
path: root/tools/imximage.c
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2012-10-03 15:47:04 +0000
committerStefano Babic <sbabic@denx.de>2012-10-20 17:13:01 +0200
commitf14e6258f3ff7488a1899d784c6d62957c2df859 (patch)
tree5303cd0e315a483ecab793f55fda7cdf5bb2c19e /tools/imximage.c
parent4d5fa985361f320c2c9830828bb52979927a4c0e (diff)
downloadu-boot-imx-f14e6258f3ff7488a1899d784c6d62957c2df859.zip
u-boot-imx-f14e6258f3ff7488a1899d784c6d62957c2df859.tar.gz
u-boot-imx-f14e6258f3ff7488a1899d784c6d62957c2df859.tar.bz2
imximage: remove redundant setting of app_dest_ptr
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'tools/imximage.c')
-rw-r--r--tools/imximage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/imximage.c b/tools/imximage.c
index c917036..bda1a75 100644
--- a/tools/imximage.c
+++ b/tools/imximage.c
@@ -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;