mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
c7d4dfcd14
The EFI capsule authentication logic in u-boot expects the public key in the form of an EFI Signature List(ESL) to be provided as part of the platform's dtb. Currently, the embedding of the ESL file into the dtb needs to be done manually. Add a target for generating a dtsi file which contains the signature node with the ESL file included as a property under the signature node. Include the dtsi file in the dtb. This brings the embedding of the ESL in the dtb into the U-Boot build flow. The path to the ESL file is specified through the CONFIG_EFI_CAPSULE_ESL_FILE symbol. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
11 lines
258 B
Text
11 lines
258 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/**
|
|
* Devicetree file with the public key EFI Signature List(ESL)
|
|
* node. This file is used to generate the dtsi file to be
|
|
* included into the DTB.
|
|
*/
|
|
/ {
|
|
signature {
|
|
capsule-key = /incbin/("ESL_BIN_FILE");
|
|
};
|
|
};
|