summaryrefslogtreecommitdiffstats
path: root/bsps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mark parameters as intentionally unusedSebastian Huber7 days1-0/+1
| | | | | | | | The parameters are unused due to API constraints. The functions are used through function pointers. Alternative implementations may use the parameters. Update #4862.
* bsps: Avoid unused argument in clock interruptSebastian Huber9 days42-181/+137
| | | | | | | | | | | Pass the parameter of the clock interrupt handler to Clock_driver_support_at_tick() and Clock_driver_timecounter_tick(). This makes it possible to use the interrupt handler argument in clock drivers. Use the interrupt handler provided by Clock_driver_support_install_isr() to avoid local delarations of Clock_isr(). Update #4862.
* dev/irq: Optional arm_gic_irq_processor_count()Sebastian Huber9 days3-0/+6
| | | | Provide arm_gic_irq_processor_count() only in SMP configurations.
* arm/xilinx-zynqmp-rpu: Fix clock driverStanislav Pankevich10 days1-1/+1
| | | | | | We observed a strange behavior of the 1Hz timer when running cFS on Zynq RPU. After some investigation, we reduced the error to the truncation issue. This patch fixes the issue.
* bsps/shared/xqspipsu: Read correct status bitsKinsey Moore2024-03-111-0/+15
| | | | | | | When resetting the QSPI FIFOs, the driver was reading write-only bits of a register for status information when it was actually in a different register. This corrects the driver so that it reads the correct status bits.
* bsps/shared/xnandpsu: Add opportunistic page cacheKinsey Moore2024-03-112-0/+50
| | | | | | | | 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.
* bsps/clock: Fix fast idle for SMPSebastian Huber2024-03-111-0/+16
|
* aarch64/zynqmp: Fix UART base addresses and IRQSebastian Huber2024-03-112-4/+4
| | | | | The base addresses and IRQ numbers for UART 0 and 1 were interchanged. Fix this and set BSP_CONSOLE_MINOR to 0 for this BSP family.
* bsps/powerpc: Fix include orderSebastian Huber2024-03-111-1/+1
| | | | | The <rtems/irq.h> header file depends on the BSP-provided define BSP_SHARED_HANDLER_SUPPORT.
* bsps/xnandpsu: Allow creation of BBTKinsey Moore2024-02-281-1/+1
| | | | | | | This fixes a logic inversion that was preventing creation of a Bad Block Table (BBT) from scratch on devices that lack one. This was discovered during upstream integration testing. The BBT management layer in this driver is not designed to be easily testable other than on real hardware.
* bsps/powerpc: Include missing <rtems/irq.h>Sebastian Huber2024-02-271-0/+1
| | | | The <rtems/irq.h> defines a legacy API.
* bsp/qoriq: Use more specific includeSebastian Huber2024-02-272-1/+2
|
* bsp/qoriq: Remove superfluous includeSebastian Huber2024-02-271-1/+0
|
* bsp/qoriq: Remove <rtems/irq.h> in <bsp/irq.h>Sebastian Huber2024-02-273-5/+4
| | | | The <rtems/irq.h> defines a legacy API.
* bsp/qoriq: Use bsp_fatal()Sebastian Huber2024-02-272-2/+5
|
* bsp/qoriq: Use interrupt entrySebastian Huber2024-02-274-29/+50
| | | | Avoid heap usage in the basic BSP.
* arm/altera-cyclone-v/README: Fix use of CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSJoel Sherrill2024-02-231-1/+1
| | | | The proper name is now CONFIGURE_MAXIMUM_FILE_DESCRIPTORS.
* bsps/qspipsu: Calculate correct parallel mode sizeKinsey Moore2024-02-191-1/+2
| | | | | | Stacked mode doubles the number of sectors and device size while parallel mode doubles the sector size and the device size. Make sure that this is accounted for in the device size accessor.
* bsp/tms570: Fix console receive interruptsAdrien Chardon2024-02-011-36/+9
| | | | | | | | | | | | | | | | | | | | | `tms570_sci_interrupt_handler()` is called when an RX interrupt fires. It checks in the register `FLR`, the `RXRDY` bit (Receiver ready flag - indicate that the SCIRD contains new data). If it is set, it calls `tms570_sci_read_received_chars()`. `tms570_sci_read_received_chars()` checks the register `RD` against 0. If it is non zero, it returns 1 to indicate that one byte was read. In the old behavior, if it is zero, the function returns 0 to indicate that no data was read. The new behavior is to not silently drop 0x00 bytes. Ignoring 0x00 bytes is fine when working with printable text (which, I assume, is how this driver was tested), but as soon as the UART is used in non canonical (raw) mode, with potentially 0x00 bytes, these bytes will be silently dropped, causing issues in the data/protocol layer above. Update #4982.
* bsps/qoriq: Add VME support for MVME2500Christian Mauderer2024-01-311-0/+50
| | | | | | | | | This enables the VME support for the MVME2500. Note that the PCIe support from libbsd is used. So you need the related libbsd patches for this to work. If the drivers in libbsd are not enabled, the linker should not pick up anything from this patch.
* bsps/qoriq: Allow setting EIRQ polarity and senseChristian Mauderer2024-01-312-0/+83
| | | | | | Add a function that allows to set the polarity (active-low / negative edge triggered or active-high / positive edge triggered) and sense (level or edge sensitive) of the external interrupts.
* bsps/qoriq: Add MMU regions for PCIe based on fdtChristian Mauderer2024-01-311-0/+88
| | | | | Get the memory ranges for the PCIe from the FDT and add them to the MMU. This is necessary so that the PCIe driver in libbsd can work.
* bsps/xilinx-zynqmp-rpu: Invalidate caches on startStanislav Pankevich2024-01-161-0/+8
| | | | This corrects an issue where caches can be dirty on warm boot.
* bsp/tms570: Use TMS570_OSCILLATOR_MAINSebastian Huber2024-01-151-2/+0
| | | | | | | This option replaces BSP_OSCILATOR_CLOCK. It may be used in PLL setup calculatios. Update #4982.
* bsp/tms570: Update READMETyler Miller2024-01-151-71/+63
| | | | Update #4982.
* bsp/tms570: Board-specific tms570_emif_sdram_init()Tyler Miller2024-01-154-97/+115
| | | | Update #4982.
* bsp/tms570: Board-specific tms570_pinmux_init()Tyler Miller2024-01-155-310/+300
| | | | Update #4982.
* bsp/tms570: Board-specific tms570_map_clock_init()Tyler Miller2024-01-154-109/+187
| | | | Update #4982.
* bsp/tms570: Board-specific tms570_pll_init()Tyler Miller2024-01-154-58/+253
| | | | Update #4982.
* bsp/tms570: Initialize MPUTyler Miller2024-01-152-0/+205
| | | | Update #4982.
* bsp/tms570: Optimize tms570_debug_console_out()Sebastian Huber2024-01-151-20/+21
| | | | | | Reduce number of interrupt disable/enable actions. Update #4982.
* bsp/tms570: Initialize and enable caches on demandSebastian Huber2024-01-151-0/+25
| | | | Update #4982.
* bsp/tms570: Use bsp_start_copy_sections_compact()Sebastian Huber2024-01-151-1/+1
| | | | | | There is no need to relocate the text and read-only data. Update #4982.
* bsp/tms570: Use shared bsp_start_hook_1()Sebastian Huber2024-01-152-22/+4
| | | | Update #4982.
* bsp/tms570: Add header guardsSebastian Huber2024-01-151-0/+5
| | | | Update #4982.
* bsp/tms570: The TMS570LC4357 has no TCRAM modulesSebastian Huber2024-01-152-0/+6
| | | | Update #4982.
* bsp/tms570: Initialize SRAM on demandSebastian Huber2024-01-151-10/+27
| | | | Update #4982.
* bsp/tms570: Use asm code for tms570_memory_init()Sebastian Huber2024-01-151-14/+21
| | | | | | Make sure that we do not use the stack for this function. Update #4982.
* bsp/tms570: Honor DBGRST for TMS570LC4357Tyler Miller2024-01-152-0/+22
| | | | Update #4982.
* bsp/tms570: Remove reset source handlingSebastian Huber2024-01-151-47/+0
| | | | | | Do not clear SYSESR and let the application handle the reset source. Update #4982.
* bsp/tms570: Add HCLKCNTL registerTyler Miller2024-01-151-2/+4
| | | | Update #4982.
* bsp/tms570: TMS570LC4x Errata DEVICE#60Tyler Miller2024-01-151-2/+7
| | | | Update #4982.
* bsp/tms570: Add errata SSWF021#45 handlingSebastian Huber2024-01-154-0/+437
| | | | Update #4982.
* bsp/tms570: Conditionalize TMS570LS3137 errataSebastian Huber2024-01-151-0/+4
| | | | Update #4982.
* bsp/tms570: Simplify expressionSebastian Huber2024-01-151-11/+12
| | | | Update #4982.
* bsp/tms570: Add TMS570LC4357 power supportTyler Miller2024-01-152-5/+25
| | | | Update #4982.
* bsp/tms570: Add TMS570LC4357 pin config supportTyler Miller2024-01-153-39/+12
| | | | Update #4982.
* bsp/tms570: Remove double pin configurationTyler Miller2024-01-151-10/+0
| | | | | | | | | Do not set pins to the default function before the actual setting is applied. If a pin setting needs to be done in a certain order, then this should be done explicitly through multiple calls to tms570_bsp_pinmmr_config(). Update #4982.
* bsp/tms570: Add tms570_pbist_run_and_check()Tyler Miller2024-01-153-54/+33
| | | | Update #4982.
* bsp/tms570: Add TMS570LC4357 PBIST supportTyler Miller2024-01-151-19/+32
| | | | Update #4982.