mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 18:09:03 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Add some functions needed by the SCSI code. This allows it to be compiled for sandbox, thus increasing build coverage. Signed-off-by: Simon Glass <sjg@chromium.org>
30 lines
426 B
C
30 lines
426 B
C
/*
|
|
* 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;
|
|
}
|
|
|
|
void scsi_print_error(ccb *pccb)
|
|
{
|
|
}
|