diff options
Diffstat (limited to 'roms/u-boot/arch/arm/include/asm/mach-imx/spi.h')
-rw-r--r-- | roms/u-boot/arch/arm/include/asm/mach-imx/spi.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/include/asm/mach-imx/spi.h b/roms/u-boot/arch/arm/include/asm/mach-imx/spi.h new file mode 100644 index 000000000..598a996a3 --- /dev/null +++ b/roms/u-boot/arch/arm/include/asm/mach-imx/spi.h @@ -0,0 +1,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 |