mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
9ab0bdd9fe
commit
8d3b77e36e
2 changed files with 148 additions and 5 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue