blob: 39b969a4b2f1b359ccba98879f3f4f062e257416 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glass84d39cb2016-05-01 11:35:55 -06002/*
3 * Copyright (C) 2015 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
5 *
Simon Glass84d39cb2016-05-01 11:35:55 -06006 * This file contains dummy implementations of SCSI functions requried so
7 * that CONFIG_SCSI can be enabled for sandbox.
8 */
9
10#include <common.h>
11#include <scsi.h>
12
Simon Glass4682c8a2017-06-14 21:28:40 -060013int scsi_bus_reset(struct udevice *dev)
Simon Glass84d39cb2016-05-01 11:35:55 -060014{
Simon Glass4682c8a2017-06-14 21:28:40 -060015 return 0;
Simon Glass84d39cb2016-05-01 11:35:55 -060016}
17
18void scsi_init(void)
19{
20}
21
Simon Glass4682c8a2017-06-14 21:28:40 -060022int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb)
Simon Glass84d39cb2016-05-01 11:35:55 -060023{
24 return 0;
25}