X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fkwboot.c;h=8a421cda4ea5804224b02436be2ea0440a533715;hb=c90c43cda8c376f949266f920bbb49119aef0b00;hp=e00958a4ce593cb9060e84b03dc365311b7acc20;hpb=7497a6a1f13eb86d68a936edecfd682bbad5752d;p=u-boot diff --git a/tools/kwboot.c b/tools/kwboot.c index e00958a4ce..8a421cda4e 100644 --- a/tools/kwboot.c +++ b/tools/kwboot.c @@ -655,14 +655,6 @@ kwboot_img_patch_hdr(void *img, size_t size) hdr->blockid = IBR_HDR_UART_ID; - /* - * Subtract mkimage header size from destination address - * as this header is not expected by the Marvell BootROM. - * This way, the execution address is identical to the - * one the image is compiled for (TEXT_BASE). - */ - hdr->destaddr = hdr->destaddr - sizeof(struct image_header); - if (image_ver == 0) { struct main_hdr_v0 *hdr_v0 = img;