summaryrefslogtreecommitdiff
path: root/plat/arm/css
diff options
context:
space:
mode:
authorTony K Nadackal <tony.nadackal@arm.com>2021-11-24 16:09:26 +0000
committerTony K Nadackal <tony.nadackal@arm.com>2023-01-12 17:26:00 +0000
commit028c6190d9f3d892a84b5b9cbfdbbab808a73acb (patch)
tree66ce0664ce5eb7c60f495ad8242d631edc9fb049 /plat/arm/css
parenta9896306c1ac9bc3521f164efc5698e83866e4f1 (diff)
downloadarm-trusted-firmware-028c6190d9f3d892a84b5b9cbfdbbab808a73acb.tar.gz
feat(rdn2): add platform id value for rdn2 variant 3
The RD-N2-Cfg3 platform is a variant of the RD-N2 platform with the significant difference being the number of ITS blocks and the use of a different part number. Signed-off-by: Tony K Nadackal <tony.nadackal@arm.com> Change-Id: Id4c5faeae44f21da79cb59540558192d0b02b124
Diffstat (limited to 'plat/arm/css')
-rw-r--r--plat/arm/css/sgi/include/sgi_variant.h3
-rw-r--r--plat/arm/css/sgi/sgi_bl31_setup.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/plat/arm/css/sgi/include/sgi_variant.h b/plat/arm/css/sgi/include/sgi_variant.h
index 223ac3ecc..8f9529aa1 100644
--- a/plat/arm/css/sgi/include/sgi_variant.h
+++ b/plat/arm/css/sgi/include/sgi_variant.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2018-2023, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -22,6 +22,7 @@
/* SID Version values for RD-N2 variants */
#define RD_N2_CFG1_SID_VER_PART_NUM 0x07B6
+#define RD_N2_CFG3_SID_VER_PART_NUM 0x07F1
/* SID Version values for RD-V2 */
#define RD_V2_SID_VER_PART_NUM 0x07F2
diff --git a/plat/arm/css/sgi/sgi_bl31_setup.c b/plat/arm/css/sgi/sgi_bl31_setup.c
index 9adcb7c0b..df2ce387a 100644
--- a/plat/arm/css/sgi/sgi_bl31_setup.c
+++ b/plat/arm/css/sgi/sgi_bl31_setup.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, Arm Limited and Contributors. All rights reserved.
+ * Copyright (c) 2018-2023, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -80,7 +80,8 @@ scmi_channel_plat_info_t *plat_css_get_scmi_info(unsigned int channel_id)
sgi_plat_info.platform_id == RD_V1_SID_VER_PART_NUM ||
sgi_plat_info.platform_id == RD_N2_SID_VER_PART_NUM ||
sgi_plat_info.platform_id == RD_V2_SID_VER_PART_NUM ||
- sgi_plat_info.platform_id == RD_N2_CFG1_SID_VER_PART_NUM) {
+ sgi_plat_info.platform_id == RD_N2_CFG1_SID_VER_PART_NUM ||
+ sgi_plat_info.platform_id == RD_N2_CFG3_SID_VER_PART_NUM) {
if (channel_id >= ARRAY_SIZE(plat_rd_scmi_info))
panic();
return &plat_rd_scmi_info[channel_id];