From 9f0835e9156f13b56336a47a4b51e90719a852ff Mon Sep 17 00:00:00 2001 From: Vivek Gautam Date: Tue, 12 Jul 2022 13:32:57 +0530 Subject: [PATCH] feat(rdn2): add SPI ID ranges for RD-N2 multichip platform Add the SPI ID ranges for various chips on RD-N2 multichip platform (rdn2cfg2). Also fix the max SPI ID for chip#0 that was incorrectly set. The SPI ranges for rdn2cfg2 platform are as shown below: ============================================ Chip# | CHIP_START_INTID | CHIP_END_INTID ============================================ 0 | 32 | 511 1 | 512 | 991 2 | 4096 | 4575 3 | 4576 | 5055 Signed-off-by: Vivek Gautam Change-Id: I146944af1ffe52c300eef2ef48b1077a9559bf41 --- plat/arm/board/rdn2/rdn2_plat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plat/arm/board/rdn2/rdn2_plat.c b/plat/arm/board/rdn2/rdn2_plat.c index 8cf192972..2506f9da0 100644 --- a/plat/arm/board/rdn2/rdn2_plat.c +++ b/plat/arm/board/rdn2/rdn2_plat.c @@ -47,15 +47,15 @@ static struct gic600_multichip_data rdn2mc_multichip_data __init = { #endif }, .spi_ids = { - {32, 479}, + {32, 511}, #if CSS_SGI_CHIP_COUNT > 1 - {0, 0}, + {512, 991}, #endif #if CSS_SGI_CHIP_COUNT > 2 - {0, 0}, + {4096, 4575}, #endif #if CSS_SGI_CHIP_COUNT > 3 - {0, 0}, + {4576, 5055}, #endif } };