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 /common/bootm.c | |
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 'common/bootm.c')
-rw-r--r-- | common/bootm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/bootm.c b/common/bootm.c index 53edc7162b..bf1b3441c3 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -74,6 +74,7 @@ static const char * const bootm_verify_names[] = { #ifndef CONFIG_BOOTM_FORCE_SIGNED_IMAGES [BOOTM_VERIFY_NONE] = "none", [BOOTM_VERIFY_HASH] = "hash", + [BOOTM_VERIFY_AVAILABLE] = "available", #endif [BOOTM_VERIFY_SIGNATURE] = "signature", }; |