Changeset 170df3d in rtems


Ignore:
Timestamp:
Oct 4, 2017, 5:24:19 AM (20 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
587afc3
Parents:
54380f42
git-author:
Sebastian Huber <sebastian.huber@…> (10/04/17 05:24:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/06/17 10:49:30)
Message:

bsp/imx: Add SPI bus driver

Update #3090.

Location:
c/src/lib/libbsp/arm/imx
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/imx/Makefile.am

    r54380f42 r170df3d  
    124124libbsp_a_SOURCES += i2c/imx-i2c.c
    125125
     126# SPI
     127libbsp_a_SOURCES += spi/imx-ecspi.c
     128
    126129# Start hooks
    127130libbsp_a_SOURCES += startup/bspstarthooks.c
  • c/src/lib/libbsp/arm/imx/include/bsp.h

    r54380f42 r170df3d  
    6363int i2c_bus_register_imx(const char *bus_path, const char *alias_or_path);
    6464
     65/**
     66 * @brief Registers an IMX ECSPI bus driver.
     67 *
     68 * @param[in] bus_path The ECSPI bus driver device path, e.g. "/dev/spi-0".
     69 * @param[in] alias_or_path The FDT alias or path, e.g. "spi0".
     70 *
     71 * @retval 0 Successful operation.
     72 * @retval -1 An error occurred.  The errno is set to indicate the error.
     73 */
     74int spi_bus_register_imx(const char *bus_path, const char *alias_or_path);
     75
    6576#ifdef __cplusplus
    6677}
Note: See TracChangeset for help on using the changeset viewer.