aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/sandbox_scsi.c
blob: 39b969a4b2f1b359ccba98879f3f4f062e257416 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}