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 <vivek.gautam@arm.com>
Change-Id: I146944af1ffe52c300eef2ef48b1077a9559bf41
This commit is contained in:
Vivek Gautam 2022-07-12 13:32:57 +05:30
parent cf17f7c456
commit 9f0835e915

View File

@ -47,15 +47,15 @@ static struct gic600_multichip_data rdn2mc_multichip_data __init = {
#endif #endif
}, },
.spi_ids = { .spi_ids = {
{32, 479}, {32, 511},
#if CSS_SGI_CHIP_COUNT > 1 #if CSS_SGI_CHIP_COUNT > 1
{0, 0}, {512, 991},
#endif #endif
#if CSS_SGI_CHIP_COUNT > 2 #if CSS_SGI_CHIP_COUNT > 2
{0, 0}, {4096, 4575},
#endif #endif
#if CSS_SGI_CHIP_COUNT > 3 #if CSS_SGI_CHIP_COUNT > 3
{0, 0}, {4576, 5055},
#endif #endif
} }
}; };