Commit Graph

35939 Commits

Author SHA1 Message Date
Sebastian Huber
dc16709697 bsp/leon3: Use LEON3_GPTIMER_BASE 2023-07-14 12:21:33 +02:00
Sebastian Huber
f6b7279687 bsp/leon3: Add LEON3_IRQAMP_EXTENDED_INTERRUPT 2023-07-14 12:21:33 +02:00
Sebastian Huber
1d1c0e5d9a bsp/leon3: Add LEON3_PROBE_ASR_22_23_UP_COUNTER 2023-07-14 12:21:33 +02:00
Sebastian Huber
3773a63b2a bsp/leon3: Simplify fatal error handling 2023-07-14 12:21:33 +02:00
Sebastian Huber
2aff2d03cb bsp/leon3: Move leon3_power_down_loop() 2023-07-14 12:21:33 +02:00
Sebastian Huber
314945468c bsp/leon3: Add LEON3_L2CACHE_BASE 2023-07-14 12:21:33 +02:00
Sebastian Huber
de278269ac bsp/leon3: Add LEON3_HAS_ASR_22_23_UP_COUNTER 2023-07-14 12:21:33 +02:00
Sebastian Huber
3f1186fd07 bsp/leon3: Add LEON3_IRQAMP_PROBE_TIMESTAMP 2023-07-14 12:21:33 +02:00
Sebastian Huber
824556e0b8 bsp/leon3: Add LEON3_IRQAMP_BASE 2023-07-14 12:21:33 +02:00
Sebastian Huber
8f235798a6 bsp/leon3: Add LEON3_GPTIMER_BASE 2023-07-14 12:21:33 +02:00
Sebastian Huber
ac9c55b017 bsp/leon3: LEON3_PLB_FREQUENCY_DEFINED_BY_GPTIMER 2023-07-14 12:21:33 +02:00
Sebastian Huber
fc97810ce3 bsp/leon3: Add LEON3_APBUART_BASE 2023-07-14 12:21:33 +02:00
Sebastian Huber
37880fc656 bsp/leon3: Use new L2CACHE register block API 2023-07-14 12:21:33 +02:00
Sebastian Huber
d85c505ab0 bsp/leon3: Use new GPTIMER register block API 2023-07-14 12:21:33 +02:00
Sebastian Huber
8c9daf56f8 bsp/leon3: Move system control register support
Move, document, and reformat support functions from <leon.h> to
<bsp/leon3.h>.
2023-07-14 12:21:33 +02:00
Sebastian Huber
c77a20e85b bsp/leon3: Use new IRQ(A)MP register block API 2023-07-14 12:21:33 +02:00
Sebastian Huber
32ff60293b bsp/leon3: Move and simplify bsp_irq_fixup() 2023-07-14 12:21:33 +02:00
Sebastian Huber
a5f95cbb57 bsp/leon3: Untangle interrupt controller support
Separate the probing of the interrupt controller from the
initialization.
2023-07-14 12:21:33 +02:00
Sebastian Huber
8fdecf6c55 bsps: Use new APBUART register block API 2023-07-14 12:21:33 +02:00
Sebastian Huber
49ad450d70 bsps/grlib: Use GRLIB definition of GRSPWROUTER
Rename parts to match with GRLIB naming.

Close #4842.
2023-07-14 12:21:29 +02:00
Sebastian Huber
06f631546f bsps/grlib: Remove obsolete header file
This header file was an incomplete duplicate of <grlib/grspw2-regs.h>.

Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
181d989530 bsps/grlib: Use GRLIB definition of GRSPW2
Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
cba956b5d0 bsps/grlib: Move GR740-specific registers
Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
584be21c3d bsps/grlib: Expand GRCLKGATE register bit fields
Use the maximum width supported by the GRLIB even if this exceeds the
configuration limits of a particular IP instance.

Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
e6427f1ea9 bsps/grlib: Add GRCAN - CanTxIRQ
Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
845422b859 bsps/grlib: Fix SPWTDP register name
Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
fe23259633 bsps/grlib: Expand SpaceWire port bit fields
Use the maximum width supported by the SpaceWire standard even if this
exceeds the configuration limits of a particular IP instance.

Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
7575890200 bsps/grlib: Fix SpaceWire RMAP - Product ID
Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
b7eb7d1f59 bsps/grlib: Fix GRGPIO - IRQMAP bit fields
Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
e56cecf501 bsps/grlib: Fix FTMCTRL - MCFG1 bit fields
There was an off by one error in all bit fields.  Add the R flag.

Update #4842.
2023-07-14 09:11:19 +02:00
Sebastian Huber
2d71cba033 bsps/grlib: Add generated headers
Close #4828.
2023-07-14 09:11:19 +02:00
Kinsey Moore
f46c15fd76 spec: Add QEMU test annotations
QEMU is known to fail certain tests intermittently due to clock tick
delivery issues. This defines those tests as intermittent for BSPs
intended to run on QEMU alone.

Updates #4922
Updates #4072
2023-07-10 09:11:13 -05:00
Joel Sherrill
6264b14804 Revert accidentally committed "Remove unused _IO_Relax"
Sebastian has agreed to move this out of score. I should have
removed this patch from my tree but accidentally committed it
with another patch.
2023-07-03 10:32:53 -05:00
Kinsey Moore
3d8fa0ef00 aarch64/zynqmp: Use IRQs for management console
Swap the zynqmp management console to interrupt-driven operation to
avoid losing data in under-polled situations.
2023-07-03 10:13:44 -05:00
Joel Sherrill
e49e8daf3d Remove unused _IO_Relax
The only use was in a test.
2023-07-03 10:11:58 -05:00
Karel Gardas
56d21a7acc bsps/stm32h7: disable MPU alignment for M4-based BSP variants
There is no point in wasting precious memory space on enforced section
alignment for the purpose of MPU which is not implemented on M4 core
anyway.
2023-06-29 22:46:13 +02:00
Sebastian Huber
ca0a11e443 build: Remove superfluous attributes 2023-06-28 10:28:04 +02:00
Aaron Nyholm
4b209a322e cpukit/flash: Correct erase ioctl address
Previously, the erase ioctl call would ignore flash regions and erase at
the absolute address passed in. This adds a check for if the region is
set and adds the region offset accordingly.
2023-06-27 07:50:40 +10:00
Kinsey Moore
333fd02631 bsps/xqspipsu: Handle SMP systems properly
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.
2023-06-22 10:46:33 -05:00
Sebastian Huber
65b0ba4d8a bsps/sparc: Deprecate BSP-specific interrupt API
Update #3269.
2023-06-16 07:30:50 +02:00
Sebastian Huber
4e3e9df1b4 bsps: Remove uses of BSP-specific interrupt API
Update #3269.
2023-06-16 07:30:50 +02:00
Sebastian Huber
83305f5050 pci: Do not use BSP-specific interrupt API
Update #3269.
2023-06-16 06:35:22 +02:00
Sebastian Huber
bbc9f7ef13 build: Remove unused file 2023-06-16 06:35:22 +02:00
Sebastian Huber
97a4b306f4 bsp/leon2: Include missing header file
Update #4458.
2023-06-15 20:04:22 +02:00
Sebastian Huber
32c14694db build: Format with yapf 2023-06-14 14:19:39 +02:00
Sebastian Huber
c9665ff1a1 build: Do not install removed files 2023-06-12 21:01:06 +02:00
Sebastian Huber
8383b56e48 Update company name
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
2023-06-12 07:46:23 +02:00
Sebastian Huber
a799809213 score: Remove CPU port atomic operations API
Use the C/C++ standard API directly.
2023-06-12 07:46:23 +02:00
Sebastian Huber
0613593148 score: Remove CPU port specific cpuatomic.h
All CPU ports used the same <rtems/score/cpustdatomic.h> header file to
provide the atomic operations.  Remove the header file indirection.
2023-06-12 07:46:23 +02:00
Sebastian Huber
e58f25a924 xilinx-zynqmp: Include <rtems/termiostypes.h>
Include <rtems/termiostypes.h> for the Termios device driver support.
2023-06-12 07:45:12 +02:00