diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2020-12-30 19:26:59 +0530 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-31 14:41:31 +0100 |
commit | 322c813f4becb6a256e0eeedd8e6a856bb075dfc (patch) | |
tree | b407f9d21ee3918dc539b283b30532af628cd231 /tools/Makefile | |
parent | b7d186f07168eca28ca0719a0fc13fb21a97b6e7 (diff) | |
download | u-boot-322c813f4becb6a256e0eeedd8e6a856bb075dfc.zip u-boot-322c813f4becb6a256e0eeedd8e6a856bb075dfc.tar.gz u-boot-322c813f4becb6a256e0eeedd8e6a856bb075dfc.tar.bz2 |
mkeficapsule: Add support for embedding public key in a dtb
Add options for embedding the public key esl(efi signature list) file
to the platform's dtb. The esl file is then retrieved and used for
authenticating the capsule to be used for updating firmare components
on the platform.
The esl file can now be embedded in the dtb by invoking the following
command
mkeficapsule -K <pub_key.esl> -D <dtb>
In the scenario where the esl file is to be embedded in an overlay,
this can be done through the following command
mkeficapsule -O -K <pub_key.esl> -D <dtb>
This will create a node named 'signature' in the dtb, and the esl file
will be stored as 'capsule-key'
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile index 66d9376..6d7b48f 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -218,6 +218,7 @@ hostprogs-$(CONFIG_MIPS) += mips-relocs hostprogs-$(CONFIG_ASN1_COMPILER) += asn1_compiler HOSTCFLAGS_asn1_compiler.o = -idirafter $(srctree)/include +mkeficapsule-objs := mkeficapsule.o $(LIBFDT_OBJS) hostprogs-$(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) += mkeficapsule # We build some files with extra pedantic flags to try to minimize things |