Changeset 45a63ee in rtems


Ignore:
Timestamp:
Nov 10, 2014, 12:46:32 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
a2b6895
Parents:
bdf8fa76
git-author:
Sebastian Huber <sebastian.huber@…> (11/10/14 12:46:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 09:30:20)
Message:

bsp/xilinx-zynq: Add Cadence I2C bus driver

Location:
c/src/lib/libbsp/arm/xilinx-zynq
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am

    rbdf8fa76 r45a63ee  
    4444include_bsp_HEADERS += ../shared/include/arm-gic-tm27.h
    4545include_bsp_HEADERS += ../shared/include/arm-release-id.h
     46include_bsp_HEADERS += include/cadence-i2c.h
     47include_bsp_HEADERS += include/cadence-i2c-regs.h
     48include_bsp_HEADERS += include/i2c.h
    4649include_bsp_HEADERS += include/irq.h
    4750include_bsp_HEADERS += include/zynq-uart.h
     
    115118libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
    116119
     120# I2C
     121libbsp_a_SOURCES += i2c/cadence-i2c.c
     122
    117123# Cache
    118124libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
  • c/src/lib/libbsp/arm/xilinx-zynq/preinstall.am

    rbdf8fa76 r45a63ee  
    127127PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/arm-release-id.h
    128128
     129$(PROJECT_INCLUDE)/bsp/cadence-i2c.h: include/cadence-i2c.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     130        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/cadence-i2c.h
     131PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/cadence-i2c.h
     132
     133$(PROJECT_INCLUDE)/bsp/cadence-i2c-regs.h: include/cadence-i2c-regs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     134        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/cadence-i2c-regs.h
     135PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/cadence-i2c-regs.h
     136
     137$(PROJECT_INCLUDE)/bsp/i2c.h: include/i2c.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     138        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/i2c.h
     139PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/i2c.h
     140
    129141$(PROJECT_INCLUDE)/bsp/irq.h: include/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    130142        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
Note: See TracChangeset for help on using the changeset viewer.