feat(board/rdedmunds): add support for rdedmunds variant
Add initial support for RD-Edmunds platform. This platform is considered as a variant of RD-N2 platform with only major change being the CPU which is Demeter instead of Neoverse-N2. Signed-off-by: Tony K Nadackal <tony.nadackal@arm.com> Change-Id: I939d9eac652fa9e76ad002ee5e6107aa79baa013
This commit is contained in:
parent
b22f18e365
commit
ef515f0d34
|
@ -30,7 +30,8 @@ RDN2_BASE = plat/arm/board/rdn2
|
|||
|
||||
PLAT_INCLUDES += -I${RDN2_BASE}/include/
|
||||
|
||||
SGI_CPU_SOURCES := lib/cpus/aarch64/neoverse_n2.S
|
||||
SGI_CPU_SOURCES := lib/cpus/aarch64/neoverse_n2.S \
|
||||
lib/cpus/aarch64/neoverse_demeter.S
|
||||
|
||||
PLAT_BL_COMMON_SOURCES += ${CSS_ENT_BASE}/sgi_plat_v2.c
|
||||
|
||||
|
|
|
@ -23,6 +23,10 @@
|
|||
/* SID Version values for RD-N2 variants */
|
||||
#define RD_N2_CFG1_SID_VER_PART_NUM 0x07B6
|
||||
|
||||
/* SID Version values for RD-Edmunds */
|
||||
#define RD_EDMUNDS_SID_VER_PART_NUM 0x07F2
|
||||
#define RD_EDMUNDS_CONFIG_ID 0x1
|
||||
|
||||
/* Structure containing SGI platform variant information */
|
||||
typedef struct sgi_platform_info {
|
||||
unsigned int platform_id; /* Part Number of the platform */
|
||||
|
|
|
@ -76,6 +76,7 @@ scmi_channel_plat_info_t *plat_css_get_scmi_info(int channel_id)
|
|||
if (sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM ||
|
||||
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_EDMUNDS_SID_VER_PART_NUM ||
|
||||
sgi_plat_info.platform_id == RD_N2_CFG1_SID_VER_PART_NUM) {
|
||||
if (channel_id >= ARRAY_SIZE(plat_rd_scmi_info))
|
||||
panic();
|
||||
|
|
Loading…
Reference in New Issue