Changeset 76386c1 in rtems


Ignore:
Timestamp:
Aug 26, 2014, 2:00:44 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
2cd68a8b
Parents:
9907dde
git-author:
Sebastian Huber <sebastian.huber@…> (08/26/14 14:00:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/26/14 15:10:18)
Message:

bsp/altera-cyclone-v: Add DMA support hwlib files

Location:
c/src/lib/libbsp/arm/altera-cyclone-v
Files:
15 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am

    r9907dde r76386c1  
    5252
    5353# Altera hwlib
     54include_bsp_HEADERS += hwlib/include/alt_16550_uart.h
    5455include_bsp_HEADERS += hwlib/include/alt_address_space.h
     56include_bsp_HEADERS += hwlib/include/alt_cache.h
    5557include_bsp_HEADERS += hwlib/include/alt_clock_group.h
    5658include_bsp_HEADERS += hwlib/include/alt_clock_manager.h
     59include_bsp_HEADERS += hwlib/include/alt_dma_common.h
     60include_bsp_HEADERS += hwlib/include/alt_dma.h
     61include_bsp_HEADERS += hwlib/include/alt_dma_program.h
    5762include_bsp_HEADERS += hwlib/include/alt_generalpurpose_io.h
    5863include_bsp_HEADERS += hwlib/include/alt_hwlibs_ver.h
     
    6065include_bsp_HEADERS += hwlib/include/alt_interrupt_common.h
    6166include_bsp_HEADERS += hwlib/include/alt_mpu_registers.h
     67include_bsp_HEADERS += hwlib/include/alt_qspi_private.h
    6268include_bsp_HEADERS += hwlib/include/alt_reset_manager.h
    6369include_bsp_HEADERS += hwlib/include/hwlib.h
    6470#The following Altera hwlib header files have been left out because so far
    6571#they are not required:
    66 #include_bsp_HEADERS += hwlib/include/alt_16550_uart.h
    6772#include_bsp_HEADERS += hwlib/include/alt_bridge_manager.h
    68 #include_bsp_HEADERS += hwlib/include/alt_dma_common.h
    69 #include_bsp_HEADERS += hwlib/include/alt_dma_program.h
    70 #include_bsp_HEADERS += hwlib/include/alt_dma.h
    7173#include_bsp_HEADERS += hwlib/include/alt_fpga_manager.h
    7274#include_bsp_HEADERS += hwlib/include/alt_globaltmr.h
     
    8082include_bsp_socal_HEADERS += hwlib/include/socal/alt_acpidmap.h
    8183include_bsp_socal_HEADERS += hwlib/include/socal/alt_clkmgr.h
     84include_bsp_socal_HEADERS += hwlib/include/socal/alt_dmanonsecure.h
     85include_bsp_socal_HEADERS += hwlib/include/socal/alt_dmasecure.h
    8286include_bsp_socal_HEADERS += hwlib/include/socal/alt_gpio.h
    8387include_bsp_socal_HEADERS += hwlib/include/socal/alt_i2c.h
    8488include_bsp_socal_HEADERS += hwlib/include/socal/alt_l3.h
     89include_bsp_socal_HEADERS += hwlib/include/socal/alt_qspidata.h
     90include_bsp_socal_HEADERS += hwlib/include/socal/alt_qspi.h
    8591include_bsp_socal_HEADERS += hwlib/include/socal/alt_rstmgr.h
    8692include_bsp_socal_HEADERS += hwlib/include/socal/alt_sdr.h
     
    125131
    126132# hwlib from Altera
     133libbsp_a_SOURCES += hwlib/src/hwmgr/alt_16550_uart.c
    127134libbsp_a_SOURCES += hwlib/src/hwmgr/alt_address_space.c
    128135libbsp_a_SOURCES += hwlib/src/hwmgr/alt_clock_manager.c
     136libbsp_a_SOURCES += hwlib/src/hwmgr/alt_dma.c
     137libbsp_a_SOURCES += hwlib/src/hwmgr/alt_dma_program.c
    129138libbsp_a_SOURCES += hwlib/src/hwmgr/alt_generalpurpose_io.c
    130139libbsp_a_SOURCES += hwlib/src/hwmgr/alt_i2c.c
     140libbsp_a_SOURCES += hwlib/src/hwmgr/alt_qspi.c
    131141libbsp_a_SOURCES += hwlib/src/hwmgr/alt_reset_manager.c
    132142#The following Altera hwlib source files have been left out because so far
    133143#they are not required:
    134 #libbsp_a_SOURCES += hwlib/src/hwmgr/alt_16550_uart.c
    135144#libbsp_a_SOURCES += hwlib/src/hwmgr/alt_bridge_manager.c
    136 #libbsp_a_SOURCES += hwlib/src/hwmgr/alt_dma_program.c
    137 #libbsp_a_SOURCES += hwlib/src/hwmgr/alt_dma.c
    138145#libbsp_a_SOURCES += hwlib/src/hwmgr/alt_fpga_manager.c
    139146#libbsp_a_SOURCES += hwlib/src/hwmgr/alt_globaltmr.c
  • c/src/lib/libbsp/arm/altera-cyclone-v/preinstall.am

    r9907dde r76386c1  
    144144PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/nocache-heap.h
    145145
     146$(PROJECT_INCLUDE)/bsp/alt_16550_uart.h: hwlib/include/alt_16550_uart.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     147        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_16550_uart.h
     148PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_16550_uart.h
     149
    146150$(PROJECT_INCLUDE)/bsp/alt_address_space.h: hwlib/include/alt_address_space.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    147151        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_address_space.h
    148152PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_address_space.h
    149153
     154$(PROJECT_INCLUDE)/bsp/alt_cache.h: hwlib/include/alt_cache.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     155        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_cache.h
     156PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_cache.h
     157
    150158$(PROJECT_INCLUDE)/bsp/alt_clock_group.h: hwlib/include/alt_clock_group.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    151159        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_clock_group.h
     
    156164PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_clock_manager.h
    157165
     166$(PROJECT_INCLUDE)/bsp/alt_dma_common.h: hwlib/include/alt_dma_common.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     167        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_dma_common.h
     168PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_dma_common.h
     169
     170$(PROJECT_INCLUDE)/bsp/alt_dma.h: hwlib/include/alt_dma.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     171        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_dma.h
     172PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_dma.h
     173
     174$(PROJECT_INCLUDE)/bsp/alt_dma_program.h: hwlib/include/alt_dma_program.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     175        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_dma_program.h
     176PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_dma_program.h
     177
    158178$(PROJECT_INCLUDE)/bsp/alt_generalpurpose_io.h: hwlib/include/alt_generalpurpose_io.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    159179        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_generalpurpose_io.h
     
    176196PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_mpu_registers.h
    177197
     198$(PROJECT_INCLUDE)/bsp/alt_qspi_private.h: hwlib/include/alt_qspi_private.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     199        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_qspi_private.h
     200PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/alt_qspi_private.h
     201
    178202$(PROJECT_INCLUDE)/bsp/alt_reset_manager.h: hwlib/include/alt_reset_manager.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    179203        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/alt_reset_manager.h
     
    192216PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_clkmgr.h
    193217
     218$(PROJECT_INCLUDE)/bsp/socal/alt_dmanonsecure.h: hwlib/include/socal/alt_dmanonsecure.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     219        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_dmanonsecure.h
     220PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_dmanonsecure.h
     221
     222$(PROJECT_INCLUDE)/bsp/socal/alt_dmasecure.h: hwlib/include/socal/alt_dmasecure.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     223        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_dmasecure.h
     224PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_dmasecure.h
     225
    194226$(PROJECT_INCLUDE)/bsp/socal/alt_gpio.h: hwlib/include/socal/alt_gpio.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
    195227        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_gpio.h
     
    204236PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_l3.h
    205237
     238$(PROJECT_INCLUDE)/bsp/socal/alt_qspidata.h: hwlib/include/socal/alt_qspidata.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     239        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_qspidata.h
     240PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_qspidata.h
     241
     242$(PROJECT_INCLUDE)/bsp/socal/alt_qspi.h: hwlib/include/socal/alt_qspi.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     243        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_qspi.h
     244PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_qspi.h
     245
    206246$(PROJECT_INCLUDE)/bsp/socal/alt_rstmgr.h: hwlib/include/socal/alt_rstmgr.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
    207247        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_rstmgr.h
Note: See TracChangeset for help on using the changeset viewer.