Changeset 12dea0a in rtems


Ignore:
Timestamp:
Aug 16, 2017, 4:49:58 AM (2 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
849500d
Parents:
8ad4d93
Message:

dev/i2c: Add Xilinx AXI I2C driver.

This is a generic driver for use with Xilinx AXI I2C controller IP.

Closes #3100.

Location:
cpukit/dev
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/dev/Makefile.am

    r8ad4d93 r12dea0a  
    1111include_dev_i2c_HEADERS += include/dev/i2c/i2c.h
    1212include_dev_i2c_HEADERS += include/dev/i2c/switch-nxp-pca9548a.h
     13include_dev_i2c_HEADERS += include/dev/i2c/xilinx-axi-i2c.h
    1314
    1415include_dev_spidir = $(includedir)/dev/spi
     
    3738libdev_a_SOURCES += i2c/i2c-dev.c
    3839libdev_a_SOURCES += i2c/switch-nxp-pca9548a.c
     40libdev_a_SOURCES += i2c/xilinx-axi-i2c.c
    3941libdev_a_SOURCES += spi/spi-bus.c
    4042libdev_a_SOURCES += serial/sc16is752.c
  • cpukit/dev/preinstall.am

    r8ad4d93 r12dea0a  
    4040PREINSTALL_FILES += $(PROJECT_INCLUDE)/dev/i2c/switch-nxp-pca9548a.h
    4141
     42$(PROJECT_INCLUDE)/dev/i2c/xilinx-axi-i2c.h: include/dev/i2c/xilinx-axi-i2c.h $(PROJECT_INCLUDE)/dev/i2c/$(dirstamp)
     43        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/dev/i2c/xilinx-axi-i2c.h
     44PREINSTALL_FILES += $(PROJECT_INCLUDE)/dev/i2c/xilinx-axi-i2c.h
     45
    4246$(PROJECT_INCLUDE)/dev/spi/$(dirstamp):
    4347        @$(MKDIR_P) $(PROJECT_INCLUDE)/dev/spi
Note: See TracChangeset for help on using the changeset viewer.