2018-05-07 05:58:06 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2016-05-02 01:35:55 +08:00
|
|
|
/*
|
|
|
|
* 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>
|
|
|
|
|
2017-06-15 11:28:40 +08:00
|
|
|
int scsi_bus_reset(struct udevice *dev)
|
2016-05-02 01:35:55 +08:00
|
|
|
{
|
2017-06-15 11:28:40 +08:00
|
|
|
return 0;
|
2016-05-02 01:35:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
void scsi_init(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-06-15 11:28:40 +08:00
|
|
|
int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb)
|
2016-05-02 01:35:55 +08:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|