]> git.baikalelectronics.ru Git - uboot.git/commit
scsi: Move core emulation state into a new struct
authorSimon Glass <sjg@chromium.org>
Wed, 21 Sep 2022 14:21:36 +0000 (16:21 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2022 14:30:05 +0000 (08:30 -0600)
commita1d4dfca4967e5ef45c826461a19b5de4f907309
treec89f40de7229917d54f51138d4bacc62b637fadc
parentea2b72d76b1706449553a546def538236d835b31
scsi: Move core emulation state into a new struct

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@chromium.org>
drivers/usb/emul/sandbox_flash.c
include/scsi_emul.h [new file with mode: 0644]