diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2019-01-21 12:12:59 +0900 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2019-02-13 09:40:06 +0100 |
commit | 8d3b77e36e10a94195642b351d4a85daab9e5fc5 (patch) | |
tree | 2dc8c47e4fb8e5d78e0475300e719a9f46813523 /include/efi_api.h | |
parent | 9ab0bdd9fe13d311269ddda60191cbc37136f998 (diff) | |
download | u-boot-8d3b77e36e10a94195642b351d4a85daab9e5fc5.tar.gz u-boot-8d3b77e36e10a94195642b351d4a85daab9e5fc5.tar.bz2 u-boot-8d3b77e36e10a94195642b351d4a85daab9e5fc5.zip |
efi: hii: add keyboard layout package support
Allow for handling keyboard layout package in HII database protocol.
A package can be added or deleted in HII database protocol, but
we don't set 'current' keyboard layout as there is no driver that
requests a keyboard layout.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r-- | include/efi_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h index 6728f9a327..03e95ec28e 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -845,6 +845,12 @@ struct efi_hii_keyboard_layout { struct efi_key_descriptor descriptors[]; } __packed; +struct efi_hii_keyboard_package { + struct efi_hii_package_header header; + u16 layout_count; + struct efi_hii_keyboard_layout layout[]; +} __packed; + /* * HII protocols */ |