]> git.sur5r.net Git - u-boot/commit
usb: sandbox: Add a USB emulation driver
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:48:06 +0000 (23:48 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:52 +0000 (20:27 -0700)
commitd8a26f0300e0fae51de277e5d5892926de12102f
tree0df35185229182cf796f38e393f409dc1609e6c2
parentb70a3fea947b28c1368063048c494389d030233b
usb: sandbox: Add a USB emulation driver

Add a simple USB keyboard driver for sandbox. It provides a function to
'load' it with input data, which it will then stream through to the normal
U-Boot input subsystem. When the input data is exhausted, the keyboard stops
providing data.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/test.h
drivers/usb/emul/Makefile
drivers/usb/emul/sandbox_keyb.c [new file with mode: 0644]
include/linux/usb/ch9.h