diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-10 15:34:23 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-10 15:34:25 +0200 |
commit | 97cfccda76e94860d72e72ecdc9f839a6d6f3057 (patch) | |
tree | 89b1a22311008e3ce8c372278c5a68472a32ce3e /common/Kconfig | |
parent | 7839011f61c02b42b44e540dfb18464f4bb79fba (diff) | |
download | barebox-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/Kconfig | 9 |
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 |