mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 00:11:48 +02:00
efi_loader: add firmware management protocol for FIT image
In this commit, a very simple firmware management protocol driver is implemented. It will take a common FIT image firmware in a capsule file and apply the data using dfu backend storage drivers via update_fit() interface. So "dfu_alt_info" variable should be properly set to specify a device and location to be updated. Please read README.dfu. Fit image is a common file format for firmware update on U-Boot, and this protocol works neatly just as a wrapper for one. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
8d99026f06
commit
f27c201485
@@ -1853,6 +1853,10 @@ struct efi_signature_list {
|
||||
EFI_GUID(0x86c77a67, 0x0b97, 0x4633, 0xa1, 0x87, \
|
||||
0x49, 0x10, 0x4d, 0x06, 0x85, 0xc7)
|
||||
|
||||
#define EFI_FIRMWARE_IMAGE_TYPE_UBOOT_FIT_GUID \
|
||||
EFI_GUID(0xae13ff2d, 0x9ad4, 0x4e25, 0x9a, 0xc8, \
|
||||
0x6d, 0x80, 0xb3, 0xb2, 0x21, 0x47)
|
||||
|
||||
#define IMAGE_ATTRIBUTE_IMAGE_UPDATABLE 0x0000000000000001
|
||||
#define IMAGE_ATTRIBUTE_RESET_REQUIRED 0x0000000000000002
|
||||
#define IMAGE_ATTRIBUTE_AUTHENTICATION_REQUIRED 0x0000000000000004
|
||||
|
Reference in New Issue
Block a user