]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: scsi: Move request-handling code to scsi_emul
authorSimon Glass <sjg@chromium.org>
Wed, 21 Sep 2022 14:21:45 +0000 (16:21 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2022 19:59:38 +0000 (13:59 -0600)
commit02cea1145a5ad49e400bd100b907ad763db16863
treec4c0bec672b962e0c0bd787b0dc38011066aa77b
parent5eff9d9c36e9e2b2437743d989f25376b981700a
sandbox: scsi: Move request-handling code to scsi_emul

Move this code into the emulator file so it can be used by multiple
drivers.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/scsi/Makefile
drivers/scsi/scsi_emul.c [new file with mode: 0644]
drivers/usb/emul/sandbox_flash.c
include/scsi_emul.h