blob: 53f46c78ec353bfe70e0adf811305e50baec1760 [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.
Vadim Bendebury32005aa2014-10-16 11:07:41 -070013 */
14
15#include <stddef.h>
16#include <spi-generic.h>
17
18struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs)
19{
20 return NULL;
21}
22
23int spi_claim_bus(struct spi_slave *slave)
24{
25 return 0;
26}
27
28void spi_release_bus(struct spi_slave *slave)
29{
30}
31
32int spi_xfer(struct spi_slave *slave, const void *dout,
33 unsigned out_bytes, void *din, unsigned in_bytes)
34{
35 return 0;
36}