
7 Apr
2015
7 Apr
'15
9:10 p.m.
On 25 March 2015 at 12:22, Simon Glass sjg@chromium.org wrote:
This emulator supports USB enumeration and allows a local file to be provided as the contents of the emulated flash stick. U-Boot can then use the file as it would a normal device, with all access passing through the usb_stor layer and the USB stack.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
drivers/usb/emul/Makefile | 1 + drivers/usb/emul/sandbox_flash.c | 423 +++++++++++++++++++++++++++++++++++++++ include/dm/uclass-id.h | 1 + 3 files changed, 425 insertions(+) create mode 100644 drivers/usb/emul/sandbox_flash.c
Applied to u-boot-dm/next.