From 610cc35c1e062faa29265ccab8d17a4e76fe66eb Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 2 Feb 2016 15:12:54 +0100 Subject: scripts: imx-usb-loader: Do not zero out boot_data_ptr 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 --- scripts/imx/imx-usb-loader.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'scripts/imx/imx-usb-loader.c') diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c index 24cfe0580d..ed27831386 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; } } -- cgit v1.2.3