diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-10 16:02:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-10 16:02:13 +0200 |
commit | 6922e0f005eeb655e7830e2718960c63c1ddf6fd (patch) | |
tree | 4117d21dfb30579ddeb20f99f775f2ef8120b7a5 /include/boot.h | |
parent | b9b0fd6c75147b71db28752c4262a82609f82e9a (diff) | |
download | barebox-6922e0f005eeb655e7830e2718960c63c1ddf6fd.tar.gz barebox-6922e0f005eeb655e7830e2718960c63c1ddf6fd.tar.xz |
bootm: Add verify mode "available"
The verify "available" mode checks whatever is available in the
booted image, so when an image has a signature, it is checked and
must be correct and when an image is hashed, it is also checked
for correctness.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/boot.h')
-rw-r--r-- | include/boot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/boot.h b/include/boot.h index 2683d72530..8e7a9f11d4 100644 --- a/include/boot.h +++ b/include/boot.h @@ -11,6 +11,7 @@ enum bootm_verify { BOOTM_VERIFY_NONE, BOOTM_VERIFY_HASH, BOOTM_VERIFY_SIGNATURE, + BOOTM_VERIFY_AVAILABLE, }; struct bootm_data { |