xref: /openbmc/u-boot/arch/arm/include/asm/mach-imx/spi.h (revision c2012cb4)
1 /*
2  * Copyright 2011 Freescale Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #ifndef __MXC_SPI_H_
8 #define __MXC_SPI_H_
9 
10 /*
11  * Board-level chip-select callback
12  * Should return GPIO # to be used for chip-select
13  */
14 
15 int board_spi_cs_gpio(unsigned bus, unsigned cs);
16 
17 #endif
18