Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bsp/leon3: Include missing header file | Sebastian Huber | 2022-03-08 | 1 | -0/+1 |
| | | | | | The <leon.h> include was removed from <bsp.h> in commit 1577a48369fae5e024baa2119b26d25de0f43946. | ||||
* | grlib: Register system console as /dev/console | Sebastian Huber | 2021-06-24 | 1 | -1/+5 |
| | | | | Close #4461. | ||||
* | bsps/powerpc, bsps/shared: Move remaining legacy networking header files | Vijay Kumar Banerjee | 2021-06-23 | 1 | -1663/+0 |
| | |||||
* | grlib: Simplify apbuart_inbyte_nonblocking() | Sebastian Huber | 2021-06-17 | 1 | -5/+5 |
| | |||||
* | grlib: Fix apbuart_outbyte_polled() prototype | Sebastian Huber | 2021-06-17 | 1 | -1/+1 |
| | | | | Callers usually want to output a character. | ||||
* | grlib: Add apbuart_outbyte_wait() | Sebastian Huber | 2021-06-17 | 3 | -17/+17 |
| | |||||
* | grlib: Remove NL -> CR in apbuart_outbyte_polled() | Sebastian Huber | 2021-06-17 | 3 | -9/+2 |
| | | | | This is already done in rtems_putc(). | ||||
* | grlib: Add ambapp_plb() | Sebastian Huber | 2021-06-17 | 4 | -6/+6 |
| | | | | | Replace the global variable ambapp_plb with a function to allow an automatic on demand initialization. | ||||
* | grlib: Customizable allocation in ambapp_scan() | Sebastian Huber | 2021-06-17 | 1 | -16/+25 |
| | | | | | Make the memory allocations in ambapp_scan() customizable via the new struct ambapp_context parameter which generalizes the memory copy handler. | ||||
* | grlib/genirq: Taking into account that it could be more than one ISR ↵ | Moyano, Gabriel | 2021-04-16 | 1 | -2/+2 |
| | | | | enabled/disabled | ||||
* | bsps: Remove networking drivers | Vijay Kumar Banerjee | 2021-04-07 | 2 | -69/+0 |
| | | | | Update #3850 | ||||
* | leon, l2cache: prevent unused diagnostic access | Martin Aberg | 2021-03-11 | 1 | -2/+2 |
| | |||||
* | leon, ahbstat: register definitions for AHBSTAT version 1 | Martin Aberg | 2021-03-11 | 1 | -0/+8 |
| | |||||
* | leon, grspw_router: added router_port_link_div() | Martin Aberg | 2021-03-11 | 1 | -0/+5 |
| | | | | Allows user to set SpaceWire run clock divisor for an individual port. | ||||
* | leon,ckinit: avoid assuming 1MHz timer pre-scaler clock | Daniel Hellstrom | 2021-03-11 | 1 | -4/+3 |
| | |||||
* | leon,greth: added support for variable sized descriptor table sizes | Daniel Hellstrom | 2021-03-11 | 1 | -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 file | Daniel Hellstrom | 2021-03-11 | 2 | -405/+435 |
| | | | | Close #4324. | ||||
* | leon,grcanfd: split out GRCANFD specific support in separate file | Daniel Hellstrom | 2021-03-11 | 3 | -627/+686 |
| | | | | Update #4324. | ||||
* | leon,grcan: added support for GRCANFD | Daniel Hellstrom | 2021-03-11 | 1 | -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 routine | Daniel Hellstrom | 2021-03-11 | 1 | -110/+41 |
| | | | | Close #4323. | ||||
* | leon,grcan: use common CAN baud-rate calculation routine | Daniel Hellstrom | 2021-03-11 | 1 | -114/+20 |
| | | | | Update #4323. | ||||
* | leon,can: introduce common CAN baud-rate calculation function | Daniel Hellstrom | 2021-03-11 | 1 | -0/+144 |
| | | | | | | | Reimplemented the baud-rate algorithm from scratch to cope with GRCAN, GRCANFD and OC_CAN devices. Update #4323. | ||||
* | grlib,ambapp: added new IP core IDs | Daniel Hellstrom | 2021-03-11 | 1 | -1/+20 |
| | |||||
* | leon,grspw: fix for SET_PACKET_SIZE | Daniel Hellstrom | 2021-03-11 | 1 | -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 Bjorkengren | 2021-03-11 | 3 | -83/+147 |
| | |||||
* | leon,gr1553b: set codec version | Arvid Bjorkengren | 2021-03-11 | 1 | -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 unlock | Arvid Bjorkengren | 2021-03-11 | 1 | -1/+1 |
| | |||||
* | leon,gr1553rt: Fixed memory leak | Arvid Bjorkengren | 2021-03-11 | 1 | -5/+11 |
| | |||||
* | grcan.c: Fix Unused value (CID #1437613) | Ryan Long | 2021-03-05 | 1 | -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 Long | 2021-03-05 | 1 | -1/+1 |
| | | | | | | CID 1399773: Unsigned compared against 0 in brm_write(). Closes #4295 | ||||
* | satcan.c: Fix Unsigned compared against 0 (CID #1399768) | Ryan Long | 2021-03-05 | 1 | -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 Long | 2021-03-05 | 1 | -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 Long | 2021-03-05 | 1 | -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 Long | 2021-03-05 | 1 | -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 Long | 2021-03-05 | 1 | -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 Long | 2021-03-05 | 1 | -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 Long | 2021-03-05 | 1 | -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 errors | Ryan Long | 2021-03-05 | 1 | -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 Long | 2021-03-05 | 1 | -2/+5 |
| | | | | | | CID 1399781: Unchecked return value in grspw_device_init(). Closes #4259 | ||||
* | grspw_pkt.c: Fix Dereference before null check (CID #1399846) | Ryan Long | 2021-02-19 | 1 | -1/+3 |
| | | | | | | CID 1399846: Dereference before null check in grspw_addr_ctrl(). Closes #4253 | ||||
* | grtc.c: Fix Dereference before null check (CID #1399840) | Ryan Long | 2021-02-19 | 1 | -1/+3 |
| | | | | | | CID 1399840: Dereference before null check in grtc_ioctl(). Closes #4252 | ||||
* | b1553rt.c: Fix Deference before null check (CID #1399830) | Ryan Long | 2021-02-19 | 1 | -1/+3 |
| | | | | | | CID 1399830: Dereference before null check in rt_control(). Closes #4251 | ||||
* | b1553brm.c: Fix Dereference before null check (CID #1399829) | Ryan Long | 2021-02-19 | 1 | -2/+5 |
| | | | | | | CID 1399829: Dereference before null check in brm_control(). Closes #4250 | ||||
* | bsps: Replace non-ASCII bullet points | Christian Mauderer | 2020-12-14 | 2 | -6/+6 |
| | |||||
* | Add networking support for griscv bsp | Jiri Gaisler | 2020-11-09 | 1 | -12/+12 |
| | | | | | | | * Only GRETH device supported for now * Fix endian problem in GRETH driver * Remove SPARC assembly from greth.c * Builds with both autoconf and waf | ||||
* | grlib: Add ambapp_common_info to derived types | Sebastian Huber | 2020-10-16 | 11 | -27/+27 |
| | | | | This avoids a cast in DEV_TO_COMMON(). | ||||
* | grlib: Add and use irqmp_has_timestamp() | Sebastian Huber | 2020-10-10 | 1 | -1/+1 |
| | | | | | | | Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move it to grlib.h. Close #4128. | ||||
* | drvmgr: Fix determination of prefix in grlib uart driver | Dennis Pfau | 2020-02-20 | 1 | -1/+1 |
| | | | | | drvmgr_get_dev_prefix returns 0 if a prefix was found. Therefore the if condition needs to check for 0, i.e. DRVMGR_OK. | ||||
* | clock: Simplify driver initialization | Sebastian Huber | 2019-12-11 | 1 | -11/+2 |
| | | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834. | ||||
* | bsps: Fix warnings in greth | Sebastian Huber | 2019-05-27 | 1 | -3/+3 |
| |