9
0
Fork 0

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>
This commit is contained in:
Sascha Hauer 2016-05-10 15:34:23 +02:00
parent 7839011f61
commit 97cfccda76
1 changed files with 9 additions and 0 deletions

View File

@ -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