]> git.baikalelectronics.ru Git - uboot.git/commit
usb: Update the test to cover reading and writing
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:55 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commit3598b9d1513ab540528eeebd403a7931999d2ee1
treeb039cad266e4cb9f32200eadbaebb5f6c484e514
parent0836820ad9526ec2deadd6321e0db91108886886
usb: Update the test to cover reading and writing

Add test coverage for blk_write() as well.

The blk_erase() is not tested for now as the USB stor interface does not
support erase.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/scsi/scsi_emul.c
drivers/usb/emul/sandbox_flash.c
include/scsi.h
include/scsi_emul.h
test/dm/usb.c