[PATCH 3/6] bsps/dev/irq: make icspicfgr an indexable array
Gedare Bloom
gedare at rtems.org
Wed Jun 23 04:29:54 UTC 2021
---
bsps/include/dev/irq/arm-gic-regs.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/bsps/include/dev/irq/arm-gic-regs.h b/bsps/include/dev/irq/arm-gic-regs.h
index 8a65294b6f..5da43f83b4 100644
--- a/bsps/include/dev/irq/arm-gic-regs.h
+++ b/bsps/include/dev/irq/arm-gic-regs.h
@@ -205,10 +205,8 @@ typedef struct {
/* GICR_IPRIORITYR */
uint8_t icspiprior[32];
uint32_t reserved_420_bfc[504];
- /* GICR_ICFGR0 */
- uint32_t icspicfgr0;
- /* GICR_ICFGR1 */
- uint32_t icspicfgr1;
+ /* GICR_ICFGR0 and GICR_ICFGR1 */
+ uint32_t icspicfgr[2];
uint32_t reserved_c08_cfc[62];
/* GICR_IGRPMODR0 */
uint32_t icspigrpmodr[64];
--
2.25.1
More information about the devel
mailing list