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