Files
Linux_Drivers/u-boot-2021.10/drivers/scsi/sandbox_scsi.c
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

26 lines
443 B
C

// 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;
}