summaryrefslogtreecommitdiff
path: root/rbutil/mkimxboot/mkimxboot.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-01-29 11:50:46 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-01-29 11:53:07 +0000
commit42a725f7ecd1e6779d24f1a66eb13652de467de9 (patch)
tree1727364077a26e2e77b1ac78a2160508c2c88395 /rbutil/mkimxboot/mkimxboot.h
parentd73c20933b5a7428c8f30442a6e0b90b34ece291 (diff)
downloadrockbox-42a725f7ecd1e6779d24f1a66eb13652de467de9.tar.gz
rockbox-42a725f7ecd1e6779d24f1a66eb13652de467de9.zip
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
Diffstat (limited to 'rbutil/mkimxboot/mkimxboot.h')
-rw-r--r--rbutil/mkimxboot/mkimxboot.h1
1 files changed, 1 insertions, 0 deletions
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
83 bool debug; 83 bool debug;
84 enum imx_output_type_t output; 84 enum imx_output_type_t output;
85 enum imx_firmware_variant_t fw_variant; 85 enum imx_firmware_variant_t fw_variant;
86 const char *force_version; // set to NULL to ignore
86}; 87};
87 88
88void dump_imx_dev_info(const char *prefix); 89void dump_imx_dev_info(const char *prefix);