summaryrefslogtreecommitdiffstats
path: root/bsps/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/shared: Adapt fsl-edma driver for imxrtChristian Mauderer2021-01-212-720/+475
| | | | | | | | | | Note: The changes have been done with portability in mind. The driver should (in theory) be able to replace the original one in the MPC BSPs too. For full compatibility an adaption layer and especially a test would be necessary. Because both are missing, don't integrate it into the MPC BSP now. Update #4180
* bsps/shared: Copy fsl-edma from mpc55xxChristian Mauderer2021-01-212-0/+1039
| | | | | | This is a preparation for making the driver universal. Update #4180
* bsps/shared/ofw: Implement RTEMS OFW interfaceG S Niteesh Babu2020-12-273-0/+665
| | | | | | | | | | | | | | RTEMS OFW is a FDT only implementation of the OpenFirmWare interface. This API is created to be compatible with FreeBSD OpenFirmWare interface. The main intention is to make porting of FreeBSD drivers to RTEMS easier. Most functions implemented have an direct one-one mapping with the original OFW API and some extra auxiliary functions were implemented to make working with device trees easier in RTEMS. Update #3784
* bsps: Use header file for GIC architecture supportSebastian Huber2020-12-231-13/+0
| | | | | | This avoids a function call overhead in the interrupt dispatching. Update #4202.
* bsps: Remove gicvx_interrupt_dispatch()Sebastian Huber2020-12-161-6/+0
| | | | | | Avoid one level of indirection. Update #4202.
* bsps: Add GICv3 arm_gic_irq_processor_count()Sebastian Huber2020-12-161-6/+1
| | | | Update #4202.
* tm27: Use generic cpu index accessorKinsey Moore2020-12-111-3/+2
| | | | | | The arm_cp15 function for accessing the current CPU index is specific to ARMv7 while this header is used for ARMv8 as well. Instead, use a generic accessor that is part of the standard CPU API.
* bsps: Remove ARM GIC SGI target filterSebastian Huber2020-12-102-15/+2
| | | | | | | Remove the target filter for software-generated interrupts since this feature is not supported by the affinity routing in GICv3. Update #4202.
* bsps: Fix GICv3 arm_gic_trigger_sgi()Sebastian Huber2020-12-102-6/+7
| | | | | | | | Use the targets parameter to determine the targets of the SGI. Change targets parameter type to 32-bit to ease the parameter passing. GICv3 supports up to 16 targets. Update #4202.
* spec: Move zynq-uart into its own objectKinsey Moore2020-12-041-4/+0
| | | | | | | Currently, zynq-uart code is always built and has some requirements for BSPs that use it. Instead of making all BSPs satisfy that requirement or working around it by setting defaults, this moves the zynq-uart code into its own spec build object so it can be included if needed.
* zynq-uart: Fix set_attributes implementationKinsey Moore2020-12-031-0/+7
| | | | | | | | | The zynq-uart set_attributes implementation was configured to always return false which causes spconsole01 to fail. This restores the disabled implementation which sets the baud rate registers appropriately and allows spconsole01 to pass. This also expands the set_attributes functionality to allow setting of the stop bits, character width, and parity.
* bsps: Move ARM GICv2 driver to bsps/sharedKinsey Moore2020-12-021-2/+2
| | | | | This moves the ARM GICv2 driver to bsps/shared to be usable by AArch64 code.
* bsps: Move zynq-uart to bsps/sharedKinsey Moore2020-12-022-0/+248
| | | | | This moves the zynq-uart driver from bsps/arm/shared to bsps/shared to accomodate use by AArch64 BSPs.
* bsp/imxrt: Add new BSPChristian Mauderer2020-11-201-1/+16
| | | | Update #4180
* grlib: Add ambapp_common_info to derived typesSebastian Huber2020-10-161-21/+17
| | | | This avoids a cast in DEV_TO_COMMON().
* grlib: Remove unused conversion macrosSebastian Huber2020-10-161-5/+0
|
* grlib: Remove superfluous forward declsSebastian Huber2020-10-161-5/+0
|
* rtems: Improve RTEMS_NO_RETURN attributeSebastian Huber2020-10-101-1/+1
| | | | | | | | | | | Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors like this: error: no return statement in function returning non-void [-Werror=return-type] Use C11 and C++11 standard means to declare a no-return function. Close #4122.
* grlib: Add and use irqmp_has_timestamp()Sebastian Huber2020-10-101-0/+9
| | | | | | | Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move it to grlib.h. Close #4128.
* bsps/include/bsp/fatal.h: Add GRLIB specific fatal errorJoel Sherrill2020-10-081-1/+4
| | | | updates #4028.
* bsps: Break out AArch32 GICv3 supportKinsey Moore2020-10-054-0/+705
| | | | | This breaks out AArch32-specific code so that the shared GICv3 code can be reused by other architectures.
* bsps: Break out AArch32 portions of GPT driverKinsey Moore2020-10-051-0/+76
| | | | | | This breaks AArch32-specific portions of the ARM GPT driver into their own file so that the generic code can be moved for reuse by other architectures.
* Move ARM PL011 UART driverKinsey Moore2020-10-052-0/+181
| | | | This UART driver is now needed for BSPs other than ARM.
* bsp/imx: Add a GPIO driverChristian Mauderer2020-07-311-0/+1
| | | | Update 3869
* libchip/ns16550: Allow user calculate baud divisorG S Niteesh2020-02-161-2/+7
| | | | | | | | This patch will allow the user to pass a function to calculate the baud divisor. This will allow for more flexibility, since for some BSPs like raspberrypi, the calculation of baud divisor is different from what is in the current driver.
* bsps: Rework work area initializationSebastian Huber2020-02-041-61/+1
| | | | | | | | | | | | | | | | | | | | The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
* bsps: Remove uses of BSP_GET_WORK_AREA_DEBUGSebastian Huber2020-02-041-35/+0
| | | | | | | | | The code covered by BSP_GET_WORK_AREA_DEBUG was basically dead code since there was no normal way to activate it (e.g. via a BSP configuration option). A follow up patch will bring back this feature through a CONFIGURE_VERBOSE_SYSTEM_INITIALIZATION configuration option. Update #3838.
* config: Add _MPCI_ConfigurationSebastian Huber2019-12-131-1/+1
| | | | | | | Replace the user MPCI configuration table with a system provided _MPCI_Configuration. Update #3735.
* rtems: Add and use rtems_object_get_local_node()Sebastian Huber2019-12-131-1/+1
| | | | Update #3841.
* mpci: Simplify MPCI configurationSebastian Huber2019-12-111-0/+1
| | | | Use watchdog for shared memory driver instead of a Classic API Timer.
* riscv: add freedom E310 Arty A7 bspPragnesh Patel2019-10-231-1/+2
| | | | | | | Added support for Sifive Freedom FE310 soc on Arty A7 FPGA board. Update #3785. Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
* bsps: Always build generic interrupt supportSebastian Huber2019-05-161-0/+63
| | | | | | | This makes it possible to write tests for the generic interrupt controller support. Update #3269.
* bsps: Adjust umon Doxygen groupsSebastian Huber2019-03-081-0/+8
| | | | Update #3706.
* bsps: Adjust shared Doxygen groupsSebastian Huber2019-03-0811-25/+84
| | | | Update #3706.
* bsps: Adjust bsp.h Doxygen groupsSebastian Huber2019-03-081-1/+1
| | | | Update #3706.
* bsps: Move VME header filesSebastian Huber2019-03-053-582/+0
| | | | They are only used by PowerPC BSPs.
* bsps: Adjust architecture Doxygen groupsSebastian Huber2019-03-043-7/+5
| | | | | | | | | | - Use CamelCase as it is not used in our C code. Enables simple search and replace. - Prefix with "RTEMS" to aid deployment and integration. It aids searching and sorting. Update #3706.
* Remove explicit file names from @fileSebastian Huber2019-02-281-1/+1
| | | | | | This makes the @file documentation independent of the actual file name. Update #3707.
* grlib: make memory coherency cpu-independentJiri Gaisler2019-01-221-0/+5
| | | | Update #3678.
* grlib: use cpu-independent routines for uncached accessJiri Gaisler2019-01-221-0/+52
| | | | Update #3678.
* grlib: make apbuart driver independent of bspJiri Gaisler2019-01-221-0/+1
| | | | Update #3678.
* grlib: Move header filesSebastian Huber2019-01-2261-0/+9916
| | | | Update #3678.
* libchip/ata: Fix ATA_DRIVER_TABLE_ENTRYSebastian Huber2018-09-051-1/+1
| | | | | | | Drop unused and deprecated functions from the ATA_DRIVER_TABLE_ENTRY. Update #3358. Close #3510.
* monlib.[ch]: Fix warnings for external vs internal use of .hJoel Sherrill2018-08-291-6/+6
|
* libchip/ata: Use rtems_blkdev_create()Sebastian Huber2018-08-071-2/+0
| | | | Update #3358.
* serial/ns16550: Precision clock synthesizerSebastian Huber2018-08-011-0/+1
| | | | | | Set the FIFO control register while DLAB == 1 in the line control register. At least on the QorIQ T4240 the driver still works with the re-ordered FIFO control register access.
* bsp/riscv: Use interrupt driven NS16550 driverSebastian Huber2018-07-251-1/+2
| | | | Update #3433.
* bsp/riscv: Add PLIC supportSebastian Huber2018-07-251-1/+5
| | | | Update #3433.
* bsp/riscv: Add basic SMP startupSebastian Huber2018-07-251-1/+3
| | | | Update #3433.
* bsp/riscv: Add and use riscv_fdt_get_address()Sebastian Huber2018-07-251-1/+2
| | | | Update #3433.