aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-11-28 07:34:21 -0500
committerTom Rini <trini@konsulko.com>2019-11-28 07:34:21 -0500
commitc4f697b291563adbde30ad4af66cb170e708dde4 (patch)
tree36e3ffc5daaacad06358ede83c3f39d146928567 /include
parent089612da337dfd60afb3d3def79b872cc98f6dd5 (diff)
parentdbcbdad92caf4b42a6279da6e65180532bc45620 (diff)
downloadu-boot-c4f697b291563adbde30ad4af66cb170e708dde4.zip
u-boot-c4f697b291563adbde30ad4af66cb170e708dde4.tar.gz
u-boot-c4f697b291563adbde30ad4af66cb170e708dde4.tar.bz2
Merge git://git.denx.de/u-boot-usb
- USB keyboard improvements
Diffstat (limited to 'include')
-rw-r--r--include/usb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb.h b/include/usb.h
index bcad552..efb67ea 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -242,6 +242,12 @@ int usb_host_eth_scan(int mode);
#ifdef CONFIG_USB_KEYBOARD
+/*
+ * 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
+
int drv_usb_kbd_init(void);
int usb_kbd_deregister(int force);