summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach-imx/spi.h
blob: 598a996a3c5ec7ad47aa3daa697bbb500c1a4562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2011 Freescale Semiconductor, Inc.
 */

#ifndef __MXC_SPI_H_
#define __MXC_SPI_H_

/*
 * Board-level chip-select callback
 * Should return GPIO # to be used for chip-select
 */

int board_spi_cs_gpio(unsigned bus, unsigned cs);

#endif