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>
This commit is contained in:
@@ -86,4 +86,6 @@ long sandbox_i2c_rtc_set_offset(struct udevice *dev, bool use_system_time,
|
||||
*/
|
||||
long sandbox_i2c_rtc_get_set_base_time(struct udevice *dev, long base_time);
|
||||
|
||||
int sandbox_usb_keyb_add_string(struct udevice *dev, const char *str);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user