summaryrefslogtreecommitdiffstats
path: root/bsps/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.am: Remove legacy networking filesVijay Kumar Banerjee2021-04-262-18/+0
|
* bsps/xilinx-zynqmp: Avoid constant UART reinitKinsey Moore2021-04-191-3/+6
| | | | | | Constantly reinitializing the Cadence UART on every character output causes data corruption/loss on some ZynqMP hardware. Only initialize the UART once for early output and give it a kick on startup.
* grlib/genirq: Taking into account that it could be more than one ISR ↵Moyano, Gabriel2021-04-161-2/+2
| | | | enabled/disabled
* disp_hcms29xx.c: Unused value (CID #1399752)Ryan Long2021-04-081-1/+3
| | | | | | CID 1399752: Unused value in disp_hcms29xx_update_task(). Closes #4342
* bsps: Remove networking driversVijay Kumar Banerjee2021-04-0725-21586/+0
| | | | Update #3850
* bsps/xilinx_zynq: Add SPI driver for xilinx-axi-spiJan Sommer2021-03-301-0/+402
| | | | Updates #4321
* bsp/beagle: Ported Beagle pinmux driver to RTEMSG S Niteesh Babu2021-03-212-1/+118
| | | | | | | | | | 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
* bsp/beagle: Import Beagle pinmux from FreeBSDG S Niteesh Babu2021-03-212-0/+764
| | | | | | | | | | | | | | | | | | | 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-211-0/+12
| | | | | | | | 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.
* leon, l2cache: prevent unused diagnostic accessMartin Aberg2021-03-111-2/+2
|
* leon, ahbstat: register definitions for AHBSTAT version 1Martin Aberg2021-03-111-0/+8
|
* leon, grspw_router: added router_port_link_div()Martin Aberg2021-03-111-0/+5
| | | | Allows user to set SpaceWire run clock divisor for an individual port.
* leon,ckinit: avoid assuming 1MHz timer pre-scaler clockDaniel Hellstrom2021-03-111-4/+3
|
* leon,greth: added support for variable sized descriptor table sizesDaniel Hellstrom2021-03-111-7/+15
| | | | | | | | | | 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-111-16/+568
| | | | | | | | | | | | | 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.
* 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-112-0/+145
| | | | | | | 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-111-1/+20
|
* 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 for cadence-spiJan Sommer2021-03-101-0/+444
| | | | 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_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_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
|
* bsps: Fix legacy buildSebastian Huber2021-02-261-4/+0
|
* bsps: Add default rtems_get_target_hash()Sebastian Huber2021-02-261-0/+66
| | | | Update #4267.
* bsps: Change license to BSD-2-Clause of some filesSebastian Huber2021-02-241-9/+34
| | | | | | | Change license to BSD-2-Clause according to file histories and re-licensing agreement. Update #3899.
* grspw_pkt.c: Fix Dereference before null check (CID #1399846)Ryan Long2021-02-191-1/+3
| | | | | | CID 1399846: Dereference before null check in grspw_addr_ctrl(). Closes #4253
* grtc.c: Fix Dereference before null check (CID #1399840)Ryan Long2021-02-191-1/+3
| | | | | | CID 1399840: Dereference before null check in grtc_ioctl(). Closes #4252
* b1553rt.c: Fix Deference before null check (CID #1399830)Ryan Long2021-02-191-1/+3
| | | | | | CID 1399830: Dereference before null check in rt_control(). Closes #4251
* b1553brm.c: Fix Dereference before null check (CID #1399829)Ryan Long2021-02-191-2/+5
| | | | | | CID 1399829: Dereference before null check in brm_control(). Closes #4250
* bsps/shared/ofw: Bug fixesG S Niteesh Babu2021-02-081-3/+3
| | | | | Fixed bugs in rtems_ofw_get_prop, rtems_ofw_get_prop_len and removed hardcoded value.
* bsps/shared/ofw: Make rtems_ofw_get_effective_phandle iterativeG S Niteesh Babu2021-02-081-4/+5
| | | | | Refactored recursive rtems_ofw_get_effective_phandle into a iterative function.
* bsps/shared/ofw: Use strlcpy instead of strncpyG S Niteesh Babu2021-02-081-1/+9
| | | | | Changed rtems_ofw_get_prop to use strlcpy instead of strncpy to ensure the buffer is null terminated incase of overflow.
* bsps/shared/ofw: Fix coverity reported defectsG S Niteesh Babu2021-02-081-5/+5
| | | | | | | | | | | | | | | Fixed use after free and null pointer dereference defects FIXES: 1) CID 1472601 (NULL_RETURNS) 2) CID 1472600 (USE_AFTER_FREE) 3) CID 1472599 (USE_AFTER_FREE) 4) CID 1472598 (USE_AFTER_FREE) 5) CID 1472596 (USE_AFTER_FREE) The below two defects have to marked false positive 1) CID 1472597 (ARRAY_VS_SINGLETON) 2) CID 1472595 (ARRAY_VS_SINGLETON)