From 4b45d42aeeb57421fce7cf1ddd85ffffdfcf824d Mon Sep 17 00:00:00 2001 From: Ning Yang Date: Wed, 29 May 2024 10:45:51 +0800 Subject: [PATCH] bsps/xilinx-versal: fix BSP_INTERRUPT_VECTOR_COUNT too large Avoid use of reserved INTIDs. BSP_INTERRUPT_VECTOR_COUNT does not allow use reserved interrupt IDs. Details !29 --- bsps/aarch64/xilinx-versal/include/bsp/irq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/aarch64/xilinx-versal/include/bsp/irq.h b/bsps/aarch64/xilinx-versal/include/bsp/irq.h index b34bdfd345..a91374f72c 100644 --- a/bsps/aarch64/xilinx-versal/include/bsp/irq.h +++ b/bsps/aarch64/xilinx-versal/include/bsp/irq.h @@ -47,7 +47,7 @@ extern "C" { #endif /* __cplusplus */ -#define BSP_INTERRUPT_VECTOR_COUNT 1024 +#define BSP_INTERRUPT_VECTOR_COUNT 1020 /* Interrupts vectors */ #define BSP_TIMER_VIRT_PPI 27