diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-02 15:12:54 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-04 14:38:33 +0100 |
commit | 610cc35c1e062faa29265ccab8d17a4e76fe66eb (patch) | |
tree | dc4873c171924c13d7c2b8598788efead4e234ae /scripts/imx | |
parent | efd400504cdf4ae5622480cd91086340c50342cf (diff) | |
download | barebox-610cc35c1e062faa29265ccab8d17a4e76fe66eb.tar.gz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/imx')
-rw-r--r-- | scripts/imx/imx-usb-loader.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } } |