summaryrefslogtreecommitdiff
path: root/utils/imxtools/sbtools/misc.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-06-27 14:50:39 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-06-27 14:55:58 +0200
commit7c9e7ec707b9aa9e40c8e7ebdbbf1138cef85bb1 (patch)
tree3510851ae8276a11aead54702cf3cc245e787ec3 /utils/imxtools/sbtools/misc.h
parentfa17cb904c270e8227c0446bee4b51789eb5bb8c (diff)
downloadrockbox-7c9e7ec707b9aa9e40c8e7ebdbbf1138cef85bb1.tar.gz
rockbox-7c9e7ec707b9aa9e40c8e7ebdbbf1138cef85bb1.zip
sbtools: add option to force sb dump
In the case of encrypted SB files without any key match, it is still possible to dump the section headers. The force option allows one to do so. It also allows to dump unencrypted sections of encrypted files if there are some. Change-Id: I36280230679ac5903f9c451c68c276f5c6959536
Diffstat (limited to 'utils/imxtools/sbtools/misc.h')
-rw-r--r--utils/imxtools/sbtools/misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/imxtools/sbtools/misc.h b/utils/imxtools/sbtools/misc.h
index 4df9bbe957..f5bba9164f 100644
--- a/utils/imxtools/sbtools/misc.h
+++ b/utils/imxtools/sbtools/misc.h
@@ -33,6 +33,7 @@
33#define ROUND_UP(val, round) ((((val) + (round) - 1) / (round)) * (round)) 33#define ROUND_UP(val, round) ((((val) + (round) - 1) / (round)) * (round))
34 34
35extern bool g_debug; 35extern bool g_debug;
36extern bool g_force;
36 37
37typedef struct crypto_key_t *key_array_t; 38typedef struct crypto_key_t *key_array_t;
38int g_nr_keys; 39int g_nr_keys;