blob: 8ae22d14873e7a8b5d6650e753afc61c3979d16b [file] [log] [blame]
Vadim Bendebury32005aa2014-10-16 11:07:41 -07001/*
2 * This file is part of the coreboot project.
3 * Copyright 2014 Google Inc.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19#include <stddef.h>
20#include <spi-generic.h>
21
22struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs)
23{
24 return NULL;
25}
26
27int spi_claim_bus(struct spi_slave *slave)
28{
29 return 0;
30}
31
32void spi_release_bus(struct spi_slave *slave)
33{
34}
35
36int spi_xfer(struct spi_slave *slave, const void *dout,
37 unsigned out_bytes, void *din, unsigned in_bytes)
38{
39 return 0;
40}