refactor(sgi): move apis and types to "nrd" prefix
Currently, functions and types internal to "neoverse_rd" platforms are
named with "sgi" as the prefix. Since common code and platforms are no
longer under the "sgi" umbrella, move the prefix to "nrd". This change
would amend the prefixes for functions, types and objects.
Signed-off-by: Rohit Mathew <Rohit.Mathew@arm.com>
Change-Id: I706a82bddf55c3be7cf9cef9aaa5df6d420098ca
diff --git a/plat/arm/board/neoverse_rd/platform/rdn2/rdn2_plat.c b/plat/arm/board/neoverse_rd/platform/rdn2/rdn2_plat.c
index fea346d..24072ca 100644
--- a/plat/arm/board/neoverse_rd/platform/rdn2/rdn2_plat.c
+++ b/plat/arm/board/neoverse_rd/platform/rdn2/rdn2_plat.c
@@ -85,18 +85,18 @@
#endif
#endif /* IMAGE_BL31 */
-unsigned int plat_arm_sgi_get_platform_id(void)
+unsigned int plat_arm_nrd_get_platform_id(void)
{
return mmio_read_32(SID_REG_BASE + SID_SYSTEM_ID_OFFSET)
& SID_SYSTEM_ID_PART_NUM_MASK;
}
-unsigned int plat_arm_sgi_get_config_id(void)
+unsigned int plat_arm_nrd_get_config_id(void)
{
return mmio_read_32(SID_REG_BASE + SID_SYSTEM_CFG_OFFSET);
}
-unsigned int plat_arm_sgi_get_multi_chip_mode(void)
+unsigned int plat_arm_nrd_get_multi_chip_mode(void)
{
return (mmio_read_32(SID_REG_BASE + SID_NODE_ID_OFFSET) &
SID_MULTI_CHIP_MODE_MASK) >>
@@ -110,7 +110,7 @@
int ret;
unsigned int i;
- if (plat_arm_sgi_get_multi_chip_mode() == 0) {
+ if (plat_arm_nrd_get_multi_chip_mode() == 0) {
ERROR("Chip Count is %u but multi-chip mode is not enabled\n",
NRD_CHIP_COUNT);
panic();
@@ -136,10 +136,10 @@
}
#endif
- sgi_bl31_common_platform_setup();
+ nrd_bl31_common_platform_setup();
#if ENABLE_FEAT_RAS && FFH_SUPPORT
- sgi_ras_platform_setup(&ras_config);
+ nrd_ras_platform_setup(&ras_config);
#endif
}
#endif /* IMAGE_BL31 */