summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-06-28 13:45:30 +0300
committerAlexander Graf <agraf@suse.de>2018-07-25 15:59:44 +0300
commit0b386537a51d5ac6e2da022ade49424ecc50ffa1 (patch)
treef0c37ee34c1b38bbb956756b1dc20bfbffb2434b /include/efi_api.h
parent71c846ab84c81b0ef7786ee5ea02bb05d5ca5bb8 (diff)
downloadu-boot-0b386537a51d5ac6e2da022ade49424ecc50ffa1.tar.xz
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.h2
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;