xref: /openbmc/u-boot/drivers/scsi/sandbox_scsi.c (revision 8ee59472)
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2015 Google, Inc
4  * Written by Simon Glass <sjg@chromium.org>
5  *
6  * This file contains dummy implementations of SCSI functions requried so
7  * that CONFIG_SCSI can be enabled for sandbox.
8  */
9 
10 #include <common.h>
11 #include <scsi.h>
12 
13 int scsi_bus_reset(struct udevice *dev)
14 {
15 	return 0;
16 }
17 
18 void scsi_init(void)
19 {
20 }
21 
22 int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb)
23 {
24 	return 0;
25 }
26