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
Kinsey Moore
ea27adaa0d
testsuites/flashdev01: Use correct page_size type
...
The page size ioctl requires an int pointer to retrieve the page size.
The test currently uses a size_t which mostly works fine for systems
where size_t and int are the same size, but can leave junk data in the
upper bits when they differ in size causing an assert in the test to
fail in some cases. This updates the variable to the correct type.
2023-06-10 11:02:29 -05:00
Kinsey Moore
09fd5dd353
bsps/xqspipsu: Use device information from the FCT
...
Instead of statically defining the device parameters, use the device
information available via the NOR device layer's Flash Configuration
Table.
2023-06-08 09:48:44 -05:00
Kinsey Moore
7a14c3df8b
bsps/xqspipsu: Calculate erase sectors correctly
...
When given the exact bounds of a sector, the current algorithm
calculates that 3 sectors need to be erased. This corrects the
calculation such that only 1 sector needs to be erased for erasures that
exactly match sector boundaries.
2023-06-08 09:48:44 -05:00
Kinsey Moore
4ca4311036
bsps/xqspipsu: Correct s25fl512s flash definition
...
The definition for the s25fl512s flash chip is incorrect. This updates
the sector size and page size values to match the datasheet.
2023-06-08 09:48:44 -05:00
Kinsey Moore
a67aab6cd4
bsps/xqspipsu: Ensure NOR writes align
...
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.
2023-06-08 09:48:44 -05:00