]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(rdn2): reduce use of CSS_SGI_PLATFORM_VARIANT build flag
authorTony K Nadackal <tony.nadackal@arm.com>
Sat, 12 Nov 2022 23:21:20 +0000 (23:21 +0000)
committerTony K Nadackal <tony.nadackal@arm.com>
Thu, 12 Jan 2023 17:26:00 +0000 (17:26 +0000)
commita9896306c1ac9bc3521f164efc5698e83866e4f1
tree832914a284a084043b0db0df8dc282fb2db6e60a
parent42c4760afad48714f807c65ddea9d0146a03f0c7
refactor(rdn2): reduce use of CSS_SGI_PLATFORM_VARIANT build flag

The core count is one of the significant difference between the various
RD-N2 platform variants. The PLAT_ARM_CLUSTER_COUNT macro defines the
number of core/cluster for a variant. In preparation to add another
variant of RD-N2 platform, replace the use of CSS_SGI_PLATFORM_VARIANT
build flag, where applicable, with the PLAT_ARM_CLUSTER_COUNT macro.
This helps to reduce the changes required to add support for a new
variant.

Signed-off-by: Tony K Nadackal <tony.nadackal@arm.com>
Change-Id: I89b168308d1b5f7edd402205dd25d6c3a355e100
plat/arm/board/rdn2/rdn2_topology.c