[PATCH 33/34] scripts: imx-usb-loader: Do not zero out boot_data_ptr

Sascha Hauer s.hauer at pengutronix.de
Tue Feb 2 06:48:16 PST 2016


This shouldn't be necessary. So far it didn't hurt either, but now
this invalidates the signature of the image, so keep the image
unmodified.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 scripts/imx/imx-usb-loader.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index 24cfe05..ed27831 100644
--- a/scripts/imx/imx-usb-loader.c
+++ b/scripts/imx/imx-usb-loader.c
@@ -941,8 +941,6 @@ static int get_dl_start(unsigned char *p, unsigned char *file_start,
 		*plugin = ((struct imx_boot_data *)bd)->plugin;
 		((struct imx_boot_data *)bd)->plugin = 0;
 
-		hdr->boot_data_ptr = 0;
-
 		break;
 	}
 	}
-- 
2.7.0.rc3




More information about the barebox mailing list