spi.h 292 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2011 Freescale Semiconductor, Inc.
  4. */
  5. #ifndef __MXC_SPI_H_
  6. #define __MXC_SPI_H_
  7. /*
  8. * Board-level chip-select callback
  9. * Should return GPIO # to be used for chip-select
  10. */
  11. int board_spi_cs_gpio(unsigned bus, unsigned cs);
  12. #endif