2016-05-01 17:35:55 +00:00
|
|
|
/*
|
|
|
|
* 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>
|
|
|
|
|
2017-06-15 03:28:40 +00:00
|
|
|
int scsi_bus_reset(struct udevice *dev)
|
2016-05-01 17:35:55 +00:00
|
|
|
{
|
2017-06-15 03:28:40 +00:00
|
|
|
return 0;
|
2016-05-01 17:35:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void scsi_init(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-06-15 03:28:40 +00:00
|
|
|
int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb)
|
2016-05-01 17:35:55 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|