aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/imx-common/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/imx-common/spi.h')
-rw-r--r--arch/arm/include/asm/imx-common/spi.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/spi.h b/arch/arm/include/asm/imx-common/spi.h
new file mode 100644
index 00000000000..1d4473a04ae
--- /dev/null
+++ b/arch/arm/include/asm/imx-common/spi.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2011 Freescale Semiconductor, Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#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