diff options
Diffstat (limited to 'roms/u-boot/drivers/scsi/sandbox_scsi.c')
-rw-r--r-- | roms/u-boot/drivers/scsi/sandbox_scsi.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/roms/u-boot/drivers/scsi/sandbox_scsi.c b/roms/u-boot/drivers/scsi/sandbox_scsi.c new file mode 100644 index 000000000..39b969a4b --- /dev/null +++ b/roms/u-boot/drivers/scsi/sandbox_scsi.c @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2015 Google, Inc + * Written by Simon Glass <sjg@chromium.org> + * + * This file contains dummy implementations of SCSI functions requried so + * that CONFIG_SCSI can be enabled for sandbox. + */ + +#include <common.h> +#include <scsi.h> + +int scsi_bus_reset(struct udevice *dev) +{ + return 0; +} + +void scsi_init(void) +{ +} + +int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb) +{ + return 0; +} |