summaryrefslogtreecommitdiffstats
path: root/bsps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Remove networking driversVijay Kumar Banerjee2021-04-07124-111498/+0
| | | | Update #3850
* arm/stm32h7: Add STM32H7_USART3_GPIO_*Sebastian Huber2021-04-061-2/+4
|
* arm/stm32h7: Add STM32H7_HSE_FREQUENCYSebastian Huber2021-04-061-0/+5
|
* stm32h7: Add init for sdmmc pinsChristian Mauderer2021-04-012-0/+90
| | | | Update #4372
* stm32h7: Add SDMMC modules to clockChristian Mauderer2021-04-012-3/+15
| | | | Update #4372
* bsps/xilinx_zynq: Add Xilinx AXI SPI driver to autotools buildJan Sommer2021-03-301-0/+2
| | | | Closes #4321
* bsps/xilinx_zynq: Add SPI driver for xilinx-axi-spiJan Sommer2021-03-303-0/+557
| | | | Updates #4321
* bsps/riscv: Add per cpu clock interruptJan Sommer2021-03-232-10/+50
| | | | - Fixes failure of test smpclock01
* bsp/beagle: Ported Beagle pinmux driver to RTEMSG S Niteesh Babu2021-03-214-2/+157
| | | | | | | | | | The following files have been ported 1) ti_pinmux.c 2) ti_pinmux.h 3) am335x_scm_padconf.c 4) am335x_scm_padconf.h Update #3784
* bsps/beagle: Added SOC detection using FDTG S Niteesh Babu2021-03-214-6/+158
| | | | | Detects the SOC type using FDT and also replaces the ti_cpuid.h header in FreeBSD with custom one.
* bsp/beagle: Import Beagle pinmux from FreeBSDG S Niteesh Babu2021-03-214-0/+891
| | | | | | | | | | | | | | | | | | | This patch imports the beagle pinmux driver from FreeBSD into RTEMS. Previously this driver was placed in RTEMS-libBSD but this caused double initialization of few pins once during RTEMS initialization and second time during libBSD initialization. The following patches port the driver from FreeBSD to RTEMS and will remove the driver from RTEMS-libBSD. RTEMS Ticket Update: #3784 FreeBSD head: ca12b7e9534b10af022fed60c043984dbaf4003d The following files have been imported from FreeBSD: 1) freebsd/sys/arm/ti/am335x/am335x_scm_padconf.h 2) freebsd/sys/arm/ti/am335x/am335x_scm_padconf.c 3) freebsd/sys/arm/ti/ti_pinmux.h 4) freebsd/sys/arm/ti/ti_pinmux.c
* bsps/shared/ofw: Add rtems_ofw_is_node_compatibleG S Niteesh Babu2021-03-212-0/+29
| | | | | | | | This patch extends the RTEMS OFW API by adding rtems_ofw_find_device_by_compat This function checks if a node has the expected compatible property.
* bsps/arm/imxrt: Add FDT and FDT helper for QTMRChristian Mauderer2021-03-214-139/+293
| | | | | Makes it simpler to access the QTMR in an application via a FDT name or link in an application specific FDT entry.
* grlib,grspw_pkt: correct link state enum numberingDaniel Hellstrom2021-03-111-2/+2
| | | | | Not used by the driver itself, but shuold be correct if used by application.
* leon, l2cache: prevent unused diagnostic accessMartin Aberg2021-03-111-2/+2
|
* leon, ahbstat: register definitions for AHBSTAT version 1Martin Aberg2021-03-112-0/+10
|
* leon, grspw_router: added router_port_link_div()Martin Aberg2021-03-112-0/+6
| | | | Allows user to set SpaceWire run clock divisor for an individual port.
* leon: restart and load timer counter at initializationDaniel Hellstrom2021-03-111-1/+4
| | | | | | | | | | | | Without this smp05 and smpthreadlife01 tests may fail depending on how the boot loader initialized the GPTIMER. Before the time counter stopped counting when reaching zero, but tests could work since it could take 2^32 us before stopping. The timer driver will potentially overwrite this, but it happens later due to the initialization order having RTEMS_SYSINIT_CPU_COUNTER very early.
* leon,ckinit: avoid assuming 1MHz timer pre-scaler clockDaniel Hellstrom2021-03-111-4/+3
|
* leon3: avoid dependency on apbuart/timer driverDaniel Hellstrom2021-03-112-12/+28
| | | | | | | Moves drvmgr_drivers[] from amba.c to a separate file in order to avoid the dependecy on APBUART/GPTIMER drivers. This has an effect when user configured not to use timer or uart in their project.
* leon,greth: added support for variable sized descriptor table sizesDaniel Hellstrom2021-03-112-7/+16
| | | | | | | | | | The descriptor table size is equal to its alignment and set when configuring the HW IP through VHDL generics. This SW patch simply probes the HW how large the RX/TX descriptor tables are and adjusts accordingly. The number of descriptors actual used are controlled by other settings (rxDescs and txDescs) controlled by the user.
* leon,grcan: split out GRCAN non-FD specific support in separate fileDaniel Hellstrom2021-03-113-405/+436
| | | | Close #4324.
* leon,grcanfd: split out GRCANFD specific support in separate fileDaniel Hellstrom2021-03-114-627/+687
| | | | Update #4324.
* leon,grcan: added support for GRCANFDDaniel Hellstrom2021-03-112-19/+692
| | | | | | | | | | | | | The new GRCAN_FD IP supports CAN FD standard and is mostly backwards compatible with GRCAN SW interface. The GRCAN driver have been extended to support the GRCANFD IP using the same driver. Additional functions have been added that uses a new CAN FD frame format and read/write/baud-rate functions that supports both GRCANFD and GRCAN. To keep the SW API fully backwards compatible with GRCAN, the old functions remain. Update #4324.
* grlib: added 64-bit read no-cache functionDaniel Hellstrom2021-03-111-0/+10
| | | | Update #4324.
* leon,occan: use common CAN baud-rate calculation routineDaniel Hellstrom2021-03-111-110/+41
| | | | Close #4323.
* leon,grcan: use common CAN baud-rate calculation routineDaniel Hellstrom2021-03-111-114/+20
| | | | Update #4323.
* leon,can: introduce common CAN baud-rate calculation functionDaniel Hellstrom2021-03-116-1/+244
| | | | | | | Reimplemented the baud-rate algorithm from scratch to cope with GRCAN, GRCANFD and OC_CAN devices. Update #4323.
* grlib,ambapp: added new IP core IDsDaniel Hellstrom2021-03-112-1/+39
|
* leon,grspw: fix for SET_PACKET_SIZEDaniel Hellstrom2021-03-111-0/+7
| | | | | | | | | | When the DMA table has been allocated dynamically, the IOCTL_SET_PACKETSIZE will trigger an issue where pDev->rx and pDev->tx are not updated with the new DMA tables base address. Instead the old pointers are used. There is no point in reallocting the DMA tables because there is no configuration option to it. Therefore the DMA tables allocation is moved to a separate function never called from SET_PACKETSIZE.
* leon,gr1553b: Only align allocated memory. Verify alignment of memory.Arvid Bjorkengren2021-03-113-83/+147
|
* leon,gr1553b: set codec versionArvid Bjorkengren2021-03-111-0/+4
| | | | | This is enables the updated codec for GR740 and is backwards compatible with all other versions of the IP.
* leon,gr1553rt: Fixed spinlock unlockArvid Bjorkengren2021-03-111-1/+1
|
* leon,gr1553rt: Fixed memory leakArvid Bjorkengren2021-03-111-5/+11
|
* bsps/xilinx_zynq: Add SPI driver to autotools buildJan Sommer2021-03-101-0/+5
| | | | Closes #4320
* bsps/xilinx_zynq: Add SPI driver for cadence-spiJan Sommer2021-03-103-0/+591
| | | | Updates #4320
* grcan.c: Fix Unused value (CID #1437613)Ryan Long2021-03-051-1/+1
| | | | | | | CID 1437613: Unused value in grcan_set_filter(). This fix was recommended by Daniel Hellstrom (daniel@gaisler.com). Closes #4301
* b1553brm.c: Fix Unsigned compared against 0 (CID #1399773)Ryan Long2021-03-051-1/+1
| | | | | | CID 1399773: Unsigned compared against 0 in brm_write(). Closes #4295
* satcan.c: Fix Unsigned compared against 0 (CID #1399768)Ryan Long2021-03-051-12/+4
| | | | | | CID 1399768: Unsigned compared against 0 in satcan_ioctl(). Closes #4294
* gr_cpci_gr740.c: Unchecked return value from library (CID #1437630)Ryan Long2021-03-051-1/+3
| | | | | | CID 1437630: Unchecked return value from library in gr_cpci_gr740_init1(). Closes #4290
* gr_tmtc_1553.c: Unchecked return value from library (CID #1399785)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399785: Unchecked return value from library in gr_tmtc_1553_init1(). Closes #4289
* gr_701.c: Unchecked return value from library (CID #1399783)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399783: Unchecked return value from library in gr701_init1(). Closes #4288
* gr_rasta_adcdac.c: Fix Unchecked return value from library (CID #1399780)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399780: Unchecked return value from library in gr_rasta_adcdac_init1(). Closes #4287
* gr_rasta_tmtc.c: Fix Unchecked return value from library (CID #1399771)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399771: Unchecked return value from library in gr_rasta_tmtc_init1(). Closes #4286
* gr_leon4_n2x.c: Fix Unchecked return value from library (CID #1399767)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399767: Unchecked return value error from library in gr_cpci_leon4_n2x_init1(). Closes #4285
* gr_rasta_io.c: Fix Unchecked return value from library (CID #1399763)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399763: Unchecked return value from library in gr_rasta_io_init1(). Closes #4284
* gr_rasta_spw_router.c: Fix Unchecked return value from library (CID #1399760)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399760: Unchecked return value from library in gr_rasta_spw_router_init1(). Closes #4283
* grtc.c: Fix four Missing break in switch Coverity errorsRyan Long2021-03-051-0/+4
| | | | | | | | | CID 1399761: Missing break in switch in process_dma(). CID 1399765: Missing break in switch in process_dma(). CID 1399766: Missing break in switch in process_dma(). CID 1399777: Missing break in switch in process_dma(). Closes #4277
* grspw.c: Fix Unchecked return value (CID #1399781)Ryan Long2021-03-051-2/+5
| | | | | | CID 1399781: Unchecked return value in grspw_device_init(). Closes #4259
* bsps/shared: Allow setting baud rate for zynq uartJan Sommer2021-03-051-5/+16
|