Re: [PATCH] bootm: fit: add option to add DT snipped that contains fit public key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 09, 2018 at 11:50:34AM +0100, Marc Kleine-Budde wrote:
> On 02/09/2018 11:01 AM, Sascha Hauer wrote:
> > From: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
> > 
> > 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 <mkl@xxxxxxxxxxxxxx>
> > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> > ---
> >  common/Kconfig       | 7 +++++++
> >  scripts/Makefile.lib | 6 ++++++
> >  2 files changed, 13 insertions(+)
> > 
> > diff --git a/common/Kconfig b/common/Kconfig
> > index 93b1d89274..33e15490e9 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
> > +	  FIXME
> 
> Set Path to a dts snippet which holds the public keys for FIT images.

Added the help text, thanks for writing one.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux