Skip to content
Snippets Groups Projects
Commit f14e6258 authored by Troy Kisky's avatar Troy Kisky Committed by Stefano Babic
Browse files

imximage: remove redundant setting of app_dest_ptr

parent 4d5fa985
No related branches found
No related tags found
No related merge requests found
...@@ -213,7 +213,6 @@ static void set_imx_hdr_v1(struct imx_header *imxhdr, uint32_t dcd_len, ...@@ -213,7 +213,6 @@ static void set_imx_hdr_v1(struct imx_header *imxhdr, uint32_t dcd_len,
/* Set magic number */ /* Set magic number */
fhdr_v1->app_code_barker = APP_CODE_BARKER; 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 - fhdr_v1->app_dest_ptr = params->ep - imxhdr->flash_offset -
sizeof(struct imx_header); sizeof(struct imx_header);
fhdr_v1->app_code_jump_vector = params->ep; fhdr_v1->app_code_jump_vector = params->ep;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment