]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
xilinx: Unify Platform specific defines for PSCI module
authorDeepika Bhavnani <deepika.bhavnani@arm.com>
Fri, 13 Dec 2019 16:53:56 +0000 (10:53 -0600)
committerDeepika Bhavnani <deepika.bhavnani@arm.com>
Fri, 24 Jan 2020 16:02:15 +0000 (10:02 -0600)
PLATFORM_CORE_COUNT - Unsigned int
PLATFORM_CLUSTER_COUNT - Unsigned int
PLATFORM_MAX_CPUS_PER_CLUSTER - Unsigned int
PLATFORM_CORE_COUNT_PER_CLUSTER - Unsigned int

Signed-off-by: Deepika Bhavnani <deepika.bhavnani@arm.com>
Change-Id: I76f5535f1cbdaf3fc1235cd824111d9afe8f7e1b

plat/xilinx/versal/include/platform_def.h
plat/xilinx/zynqmp/include/platform_def.h

index 9f8392ce91dcac6906503a41095fce93ac2924ad..4cdaea21913c577a587be77cc2aa28013d74e703 100644 (file)
@@ -17,7 +17,7 @@
 /* Size of cacheable stacks */
 #define PLATFORM_STACK_SIZE    0x440
 
-#define PLATFORM_CORE_COUNT            2
+#define PLATFORM_CORE_COUNT            U(2)
 #define PLAT_MAX_PWR_LVL               1
 #define PLAT_MAX_RET_STATE             1
 #define PLAT_MAX_OFF_STATE             2
index 7b062fcaa89832bb65b4dcf7665750fdf4ab92b6..27968409e461bcf9a8e0379cc8f769f03a2fd4d2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2014-2020, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
@@ -21,8 +21,8 @@
 /* Size of cacheable stacks */
 #define PLATFORM_STACK_SIZE 0x440
 
-#define PLATFORM_CORE_COUNT            4
-#define PLAT_NUM_POWER_DOMAINS         5
+#define PLATFORM_CORE_COUNT            U(4)
+#define PLAT_NUM_POWER_DOMAINS         U(5)
 #define PLAT_MAX_PWR_LVL               U(1)
 #define PLAT_MAX_RET_STATE             U(1)
 #define PLAT_MAX_OFF_STATE             U(2)