diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2023-08-22 23:10:00 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-29 13:37:54 -0400 |
commit | 56f243dcbe55c62e183ddf76b44a4393714d1694 (patch) | |
tree | 9d062d146c8e4354678316a023c8a0b79373d0b9 /include/sandbox_efi_capsule.h | |
parent | b617611b27a0c91df6fbb44d84edaa160079bc9c (diff) | |
download | u-boot-56f243dcbe55c62e183ddf76b44a4393714d1694.zip u-boot-56f243dcbe55c62e183ddf76b44a4393714d1694.tar.gz u-boot-56f243dcbe55c62e183ddf76b44a4393714d1694.tar.bz2 |
test: capsule: Generate EFI capsules through binman
Support has been added for generating the EFI capsules through
binman. Make changes in the EFI capsule update testing feature to
generate capsules through binman.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Diffstat (limited to 'include/sandbox_efi_capsule.h')
-rw-r--r-- | include/sandbox_efi_capsule.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sandbox_efi_capsule.h b/include/sandbox_efi_capsule.h new file mode 100644 index 0000000..3e288e8 --- /dev/null +++ b/include/sandbox_efi_capsule.h @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2023, Linaro Limited + */ + +#if !defined(_SANDBOX_EFI_CAPSULE_H_) +#define _SANDBOX_EFI_CAPSULE_H_ + +#define SANDBOX_UBOOT_IMAGE_GUID "09d7cf52-0720-4710-91d1-08469b7fe9c8" +#define SANDBOX_UBOOT_ENV_IMAGE_GUID "5a7021f5-fef2-48b4-aaba-832e777418c0" +#define SANDBOX_FIT_IMAGE_GUID "3673b45d-6a7c-46f3-9e60-adabb03f7937" +#define SANDBOX_INCORRECT_GUID "058b7d83-50d5-4c47-a195-60d86ad341c4" + +#define UBOOT_FIT_IMAGE "u-boot_bin_env.itb" + +#define CAPSULE_PRIV_KEY "capsule_priv_key_good.key" +#define CAPSULE_PUB_KEY "capsule_pub_key_good.crt" +#define CAPSULE_INVAL_KEY "capsule_priv_key_bad.key" +#define CAPSULE_INVAL_PUB_KEY "capsule_pub_key_bad.crt" + +#endif /* _SANDBOX_EFI_CAPSULE_H_ */ |