diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-14 21:28:27 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 10:08:19 -0600 |
commit | 0fcd48fe00e8fb2d433c1bf5ebe586b19228f027 (patch) | |
tree | 1b46752f2c58f79c96c7b2e7f05b2228af2d59dd /drivers/scsi/sandbox_scsi.c | |
parent | f2105c61821b67bc1d572304d901518e88ee007b (diff) |
scsi: Move drivers into new drivers/scsi directory
At present we have the SCSI drivers in the drivers/block and common/
directories. It is better to split them out into their own place. Use
drivers/scsi which is what Linux does.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/scsi/sandbox_scsi.c')
-rw-r--r-- | drivers/scsi/sandbox_scsi.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/scsi/sandbox_scsi.c b/drivers/scsi/sandbox_scsi.c new file mode 100644 index 0000000000..f4004a350c --- /dev/null +++ b/drivers/scsi/sandbox_scsi.c @@ -0,0 +1,25 @@ +/* + * 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; +} |