summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-05-10 15:34:23 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-05-10 15:34:25 +0200
commit97cfccda76e94860d72e72ecdc9f839a6d6f3057 (patch)
tree89b1a22311008e3ce8c372278c5a68472a32ce3e /common/Kconfig
parent7839011f61c02b42b44e540dfb18464f4bb79fba (diff)
downloadbarebox-97cfccda76e94860d72e72ecdc9f839a6d6f3057.tar.gz
barebox-97cfccda76e94860d72e72ecdc9f839a6d6f3057.tar.xz
bootm: Add missing BOOTM_FORCE_SIGNED_IMAGES option
The code already tests for this option, but it does not yet exist. Add the option to force using signed images. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index aa257bfe3c..0be7cdab49 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -627,6 +627,15 @@ config BOOTM_FITIMAGE_SIGNATURE
Additionally the barebox device tree needs a /signature node with the
public key with which the image has been signed.
+config BOOTM_FORCE_SIGNED_IMAGES
+ bool
+ prompt "Force booting of signed images"
+ depends on BOOTM_FITIMAGE_SIGNATURE
+ help
+ With this option enabled only signed images can be booted, unsigned images
+ are refused to boot. Effectively this means only FIT images can be booted
+ since they are the only supported image type that support signing.
+
config BLSPEC
depends on BLOCK
depends on FLEXIBLE_BOOTARGS