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