From db4260bd2996838ec02528fb9de4c5e0f68dbf38 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Tue, 12 Jul 2016 11:02:09 +0200 Subject: bootm: fit: add option to add DT snipped that contains fit public key This makes it easier for build systems to include a configurable dts snippet which holds the public keys for FIT images. Usage: Add to your dts: #ifdef CONFIG_BOOTM_FITIMAGE_PUBKEY #include CONFIG_BOOTM_FITIMAGE_PUBKEY #endif Signed-off-by: Marc Kleine-Budde Signed-off-by: Sascha Hauer --- common/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/Kconfig') diff --git a/common/Kconfig b/common/Kconfig index 93b1d89274..a21f3e51b2 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -632,6 +632,13 @@ 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_FITIMAGE_PUBKEY + string "Path to dtsi containing pubkey" + default "../fit/pubkey.dtsi" + depends on BOOTM_FITIMAGE_SIGNATURE + help + Set Path to a dts snippet which holds the public keys for FIT images. + config BOOTM_FORCE_SIGNED_IMAGES bool prompt "Force booting of signed images" -- cgit v1.2.3