diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-06-28 12:45:30 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 14:59:44 +0200 |
commit | 0b386537a51d5ac6e2da022ade49424ecc50ffa1 (patch) | |
tree | f0c37ee34c1b38bbb956756b1dc20bfbffb2434b /include/efi_api.h | |
parent | 71c846ab84c81b0ef7786ee5ea02bb05d5ca5bb8 (diff) | |
download | u-boot-0b386537a51d5ac6e2da022ade49424ecc50ffa1.tar.gz |
efi_loader: provide firmware revision
Provide a firmware revision in the system table using the Makefile
variables VERSION and PATCHLEVEL, e.g. 0x20180700 for v2018.07.
Correct the type of the firmware vendor. It is a u16* pointer.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r-- | include/efi_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_api.h b/include/efi_api.h index 3a9da32b82..c98cc34908 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -303,7 +303,7 @@ struct efi_configuration_table struct efi_system_table { struct efi_table_hdr hdr; - unsigned long fw_vendor; /* physical addr of wchar_t vendor string */ + u16 *fw_vendor; /* physical addr of wchar_t vendor string */ u32 fw_revision; efi_handle_t con_in_handle; struct efi_simple_input_interface *con_in; |