Eric Nelson | 16acd1c | 2014-09-30 15:40:03 -0700 | [diff] [blame^] | 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 |