[PATCH v2 04/15] scsi: Move core emulation state into a new struct
Simon Glass
sjg at chromium.org
Mon Sep 26 17:26:23 CEST 2022
In preparation for sharing the emulation code between two drivers, move
some of the fields into a new struct. Use a separate header file so it
can be used by various drivers.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
drivers/usb/emul/sandbox_flash.c | 60 ++++++++++++++++----------------
include/scsi_emul.h | 32 +++++++++++++++++
2 files changed, 62 insertions(+), 30 deletions(-)
create mode 100644 include/scsi_emul.h
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list