blob: 3df5965fbd942cc7ae55ea1c036a4ebec7602494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
/*
* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Alternatively, this software may be distributed under the terms of the
* GNU General Public License ("GPL") version 2 as published by the Free
* Software Foundation.
*/
#include <common.h>
#include <spi.h>
int spi_cs_is_valid(unsigned int bus, unsigned int cs)
{
printf("spi_cs_is_valid used but not implemented.\n");
return 0;
}
struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
unsigned int max_hz, unsigned int mode)
{
printf("spi_setup_slave used but not implemented.\n");
return NULL;
}
void spi_free_slave(struct spi_slave *slave)
{
printf("spi_free_slave used but not implemented.\n");
}
void spi_init(void)
{
printf("spi_init used but not implemented.\n");
}
int spi_claim_bus(struct spi_slave *slave)
{
printf("spi_claim_bus used but not implemented.\n");
return 0;
}
void spi_release_bus(struct spi_slave *slave)
{
printf("spi_release_bus used but not implemented.\n");
}
void spi_cs_activate(struct spi_slave *slave)
{
printf("spi_cs_activate used but not implemented.\n");
}
void spi_cs_deactivate(struct spi_slave *slave)
{
printf("spi_cs_deactivate used but not implemented.\n");
}
int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
void *din, unsigned long flags)
{
printf("spi_xfer used but not implemented.\n");
return 0;
}
|