diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-11-23 18:15:22 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-11-25 13:28:53 +0100 |
commit | e91a411938afcbdf191df52448216e41bbcbd288 (patch) | |
tree | 0134ecb8fbd8092c330353d0de1784f23f931bf9 /common | |
parent | 87e91bccaee63d70fd3ada0bee5e861edf8967a5 (diff) | |
download | u-boot-e91a411938afcbdf191df52448216e41bbcbd288.zip u-boot-e91a411938afcbdf191df52448216e41bbcbd288.tar.gz u-boot-e91a411938afcbdf191df52448216e41bbcbd288.tar.bz2 |
usb: kbd: move USB_KBD_BOOT_REPORT_SIZE to usb.h
Move constant USB_KBD_BOOT_REPORT_SIZE. This allows us to reuse it.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/usb_kbd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/usb_kbd.c b/common/usb_kbd.c index d6b340b..a6221ef 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -95,12 +95,6 @@ static const u8 usb_special_keys[] = { #define USB_KBD_LEDMASK \ (USB_KBD_NUMLOCK | USB_KBD_CAPSLOCK | USB_KBD_SCROLLLOCK) -/* - * USB Keyboard reports are 8 bytes in boot protocol. - * Appendix B of HID Device Class Definition 1.11 - */ -#define USB_KBD_BOOT_REPORT_SIZE 8 - struct usb_kbd_pdata { unsigned long intpipe; int intpktsize; |