summaryrefslogtreecommitdiff
path: root/board/ttcontrol/vision2/vision2.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ttcontrol/vision2/vision2.c')
-rw-r--r--board/ttcontrol/vision2/vision2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index b4d3994..b5249e7 100644
--- a/board/ttcontrol/vision2/vision2.c
+++ b/board/ttcontrol/vision2/vision2.c
@@ -144,6 +144,11 @@ static void setup_uart(void)
}
#ifdef CONFIG_MXC_SPI
+int board_spi_cs_gpio(unsigned bus, unsigned cs)
+{
+ return (bus == 0 && cs == 1) ? 121 : -1;
+}
+
void spi_io_init(void)
{
static const iomux_v3_cfg_t spi_pads[] = {