From 42a725f7ecd1e6779d24f1a66eb13652de467de9 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 29 Jan 2013 11:50:46 +0000 Subject: mkimxboot: add a switch to force version Add a switch to override the product and component version of the sb file. This can usually for target like the Zen X-Fi2 where the upader allows to drop any file named firmware.sb and prints the version: by using a funky version the users can check they got it right. This should not be used on the fuze+ or zenxfi3 because the OF prevents downgrade. Also make rbutil always zero out the option structure passed to mkimxboot, this has already created bugs in the past. Change-Id: I175c5def52c40c2132e11300e2f037d60a4f040e --- rbutil/mkimxboot/mkimxboot.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rbutil/mkimxboot/mkimxboot.h') diff --git a/rbutil/mkimxboot/mkimxboot.h b/rbutil/mkimxboot/mkimxboot.h index 9551b11f4c..748742f523 100644 --- a/rbutil/mkimxboot/mkimxboot.h +++ b/rbutil/mkimxboot/mkimxboot.h @@ -83,6 +83,7 @@ struct imx_option_t bool debug; enum imx_output_type_t output; enum imx_firmware_variant_t fw_variant; + const char *force_version; // set to NULL to ignore }; void dump_imx_dev_info(const char *prefix); -- cgit v1.2.3