summaryrefslogtreecommitdiffstats
path: root/bsps/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dev/irq: Improve Doxgyen group assignmentsSebastian Huber2024-04-165-17/+51
| | | | | Make the GIC interrupt controller support a subgroup of the generic interrupt controller support.
* bsps/xil-ttc: Add XIL_FATAL_TTC_IRQ_INSTALLSebastian Huber2024-04-111-0/+3
|
* Fix: type-cast to wrong typeBernd Moessner2024-04-061-1/+1
|
* dev/serial: Add ZYNQ_UART_[01]_BASE_ADDRSebastian Huber2024-04-042-0/+132
| | | | This helps to provide a shared implementation of the kernel I/O support.
* dev/serial: Simplify some Zynq UART functionsSebastian Huber2024-03-272-23/+20
| | | | | | Make the initialization and polled functions independent of the Termios context. This helps to implement the kernel I/O support without a dependency on the Termios framework.
* bsps: Move declarations to <bsp/irq-generic.h>Sebastian Huber2024-03-272-12/+51
| | | | | | | | | | | Move declarations of bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() to <bsp/irq-generic.h>. Canonicalize the <bsp/irq.h> includes. Implement bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() only if needed (usually RTEMS_SMP). Provide stub implementations for i386 to fix build errors.
* dev/irq: Optional arm_gic_irq_processor_count()Sebastian Huber2024-03-201-0/+2
| | | | Provide arm_gic_irq_processor_count() only in SMP configurations.
* bsps/shared/xnandpsu: Add opportunistic page cacheKinsey Moore2024-03-111-0/+9
| | | | | | | | Add an opportunistic page cache to the xnandpsu driver since it does not implement partial page reads and common filesystem access patterns perform multiple reads from the same page. This has been seen to provide a 10x speedup to read speeds and a 2x speedup on first initialization when used with JFFS2.
* bsp/qoriq: Use bsp_fatal()Sebastian Huber2024-02-271-0/+2
|
* xparameters.h: fix typo in commentBernd Moessner2024-01-081-1/+1
|
* tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULTSebastian Huber2023-12-191-0/+2
| | | | | | | Let the BSP define TM27_INTERRUPT_VECTOR_DEFAULT to more efficiently and reliably get the TM27 default interrupt vector. Update #3716.
* bsps/xnandpsu: Allow manipulation of BBTKinsey Moore2023-12-141-0/+46
| | | | | | Expose functions to directly manipulate the bad block table (BBT). These functions are necessary to correct possible BBT corruption caused by bugs in the BBT management layer.
* bsps/arm: Add BSP for ZynqMP RPUPhilip Kirkpatrick2023-11-202-0/+121
|
* bsps/clock: Import Xilinx TTC hardware definitionsKinsey Moore2023-11-202-0/+231
| | | | | | This imports the TTC hardware definitions for the triple timer counters on various Xilinx platforms. This was imported as specified in the VERSION file in this commit.
* bsps/xil: Adjust Xilinx support code for Cortex-R5Kinsey Moore2023-10-246-0/+189
| | | | | | | This fixes some issues in the Xilinx support code that are critical to support the Cortex-R5F cores present in my Xilinx SoCs. The imported Cortex-R5 xil_cache.c matches the existing information in bsps/shared/xil/VERSION.
* bsps/xil: Import Xilinx Cortex-R5 supportKinsey Moore2023-10-241-0/+117
| | | | | This imports Xilinx support code for the MPU and cache on Cortex-R5 cores. This was imported as specified in bsps/shared/xil/VERSION.
* bsps/leon3: Optional IRQ(A)MP timestamp supportSebastian Huber2023-10-201-1/+0
| | | | | | This is necessary to run the tests on SIS with profiling enabled. Update #4954.
* bsps/xqspipsu: Add SFDP config space read abilityKinsey Moore2023-09-232-0/+21
| | | | | This adds a function to allow reading of the SFDP configuration space that describes attributes of NOR flash chips.
* bsps/xqspipsu: Break out RDIDKinsey Moore2023-09-231-0/+15
| | | | | Expose a function to read the NOR flash chip ID information beyond the minimum 3 bytes for the lookup table.
* bsps/shared: Add MCP7940M RTC driverChristian Mauderer2023-08-011-0/+103
| | | | | | | The MCP7940M is a I2C RTC chip. The new driver uses the dev/i2c API to support the RTC. It is written with the intention, that the driver can be adapted to other RTCs with a similar register layout by just replacing the initialization function.
* bsps: Use new APBUART register block APISebastian Huber2023-07-141-2/+2
|
* bsps/grlib: Use GRLIB definition of GRSPWROUTERSebastian Huber2023-07-142-1443/+1759
| | | | | | Rename parts to match with GRLIB naming. Close #4842.
* bsps/grlib: Remove obsolete header fileSebastian Huber2023-07-141-890/+0
| | | | | | This header file was an incomplete duplicate of <grlib/grspw2-regs.h>. Update #4842.
* bsps/grlib: Use GRLIB definition of GRSPW2Sebastian Huber2023-07-141-137/+979
| | | | Update #4842.
* bsps/grlib: Move GR740-specific registersSebastian Huber2023-07-143-1038/+0
| | | | Update #4842.
* bsps/grlib: Expand GRCLKGATE register bit fieldsSebastian Huber2023-07-141-3/+3
| | | | | | | Use the maximum width supported by the GRLIB even if this exceeds the configuration limits of a particular IP instance. Update #4842.
* bsps/grlib: Add GRCAN - CanTxIRQSebastian Huber2023-07-141-16/+17
| | | | Update #4842.
* bsps/grlib: Fix SPWTDP register nameSebastian Huber2023-07-141-16/+16
| | | | Update #4842.
* bsps/grlib: Expand SpaceWire port bit fieldsSebastian Huber2023-07-142-4/+4
| | | | | | | Use the maximum width supported by the SpaceWire standard even if this exceeds the configuration limits of a particular IP instance. Update #4842.
* bsps/grlib: Fix SpaceWire RMAP - Product IDSebastian Huber2023-07-141-2/+2
| | | | Update #4842.
* bsps/grlib: Fix GRGPIO - IRQMAP bit fieldsSebastian Huber2023-07-141-13/+24
| | | | Update #4842.
* bsps/grlib: Fix FTMCTRL - MCFG1 bit fieldsSebastian Huber2023-07-141-57/+70
| | | | | | There was an off by one error in all bit fields. Add the R flag. Update #4842.
* bsps/grlib: Add generated headersSebastian Huber2023-07-1429-47/+16771
| | | | Close #4828.
* bsps/xqspipsu: Handle SMP systems properlyKinsey Moore2023-06-221-0/+3
| | | | | | | The NOR driver was not written with SMP systems and caching in mind. This makes the IsBusy flag volatile for updates across cores and introduces cache flushing and invalidation where necessary for data manipulated by the DMA engine in the QSPI peripheral.
* bsps/xqspipsu: Use device information from the FCTKinsey Moore2023-06-081-0/+24
| | | | | | Instead of statically defining the device parameters, use the device information available via the NOR device layer's Flash Configuration Table.
* bsps/xqspipsu: Correct s25fl512s flash definitionKinsey Moore2023-06-081-2/+2
| | | | | The definition for the s25fl512s flash chip is incorrect. This updates the sector size and page size values to match the datasheet.
* bsps/xqspipsu: Ensure NOR writes alignKinsey Moore2023-06-081-1/+24
| | | | | | | This change causes NOR writes to be broken according to page boundaries. Writes across page boundaries cause the writes beyond the boundary to fail silently. This also introduces a new function that will explicitly write pages.
* termios: Add <rtems/termiosdevice.h>Sebastian Huber2023-05-311-1/+1
| | | | | | | Add <rtems/termiosdevice.h> which does not depend on <rtems/libio.h> to provide rtems_termios_device_context and rtems_termios_device_handler. For polled serial device drivers, this removes a header file dependency to the full file system support.
* bsps/arm: Use interrupt entry for <tm27.h>Sebastian Huber2023-05-261-18/+34
| | | | | Avoid a dynamic memory allocation for the <tm27.h> interrupts. Replace assert() with _Assert().
* bsps: Improve Doxygen file commentsSebastian Huber2023-05-261-2/+2
|
* Update company nameSebastian Huber2023-05-2031-31/+31
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* bsps/xqspipsu: Add support for reading ECCKinsey Moore2023-03-222-0/+30
| | | | | This adds a helper function to read the ECC status for an ECC unit in SPI-attached NOR memory.
* bsps/xnandpsu: Allow use of both chip selectsKinsey Moore2023-03-151-0/+4
| | | | | | By default, the Xilinx NAND driver does not probe the second chip select. This alteration allows the second half of chips to be detected when present.
* bsps/irq: Clarify interrupt vector operationsSebastian Huber2023-02-101-6/+21
| | | | | | | Clarify that the presence of error conditions is implementation-defined. Close #4843.
* bsps/xil: Import full xil_exception.hKinsey Moore2023-02-086-1/+1744
| | | | | | This imports the full xil_exception.h instead of an empty stub. This is required for some Xilinx drivers. The imported files adhere to the current VERSION file.
* bsps/xil: Make sleep.h a stubKinsey Moore2023-02-081-99/+1
| | | | | | This makes xil/sleep.h a stub to prevent multiple differing definitions of sleep functions from toolchain and local headers. The non-standard sleep definitions were not in use and can be added later if needed.
* bsps/nand: Update Xilinx NAND driverKinsey Moore2023-01-304-4/+6
| | | | | This resovles gcc warnings by updating to the latest Xilinx NAND controller driver.
* grlib: Fix snprintf() overflow warnings from gcc 12Joel Sherrill2023-01-301-1/+1
| | | | Updates #4662.
* bsps: Add Xilinx GQSPI flash helperAlex White2023-01-271-0/+81
| | | | | | This adds helper functions for working with NOR flash connected to the Xilinx GQSPI controller. The helper functions are based on Xilinx's QSPIPSU flash interrupt example.
* bsps: Import Xilinx GQSPI driverAlex White2023-01-274-0/+2030
| | | | | | | | This adds Xilinx's driver for the Xilinx GQSPI controller embedded in the ZynqMP SoC. Within that device alone, it is possible to access this peripheral from MicroBlaze, ARMv7, and ARMv8 cores. The imported files are and should be able to remain unmodified. Import information is kept in bsps/shared/dev/spi/VERSION.