diff options
Diffstat (limited to 'board/host/board.c')
-rw-r--r-- | board/host/board.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/host/board.c b/board/host/board.c index 58e895a6f2..086a6f1359 100644 --- a/board/host/board.c +++ b/board/host/board.c @@ -14,6 +14,7 @@ #include "motion_sense.h" #include "motion_lid.h" #include "power_button.h" +#include "spi.h" #include "temp_sensor.h" #include "timer.h" #include "util.h" @@ -58,6 +59,14 @@ const struct i2c_port_t i2c_ports[] = { const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); #endif +#ifdef CONFIG_SPI_MASTER +/* SPI devices */ +const struct spi_device_t spi_devices[] = { +}; + +const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices); +#endif + #ifdef TEST_BUILD /* Poor source of entropy for testing purpose. */ int board_get_entropy(void *buffer, int len) |