aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2020-01-24 13:14:37 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-01-24 13:14:37 +0000
commit133e6f7e9b66bdc50d31ff86dd10a0d826a713fb (patch)
tree1e1527f9573e50e063e170f6436d15746d609459
parent22d7dd7fc7fe2a4bd168e7dd75cb394cd753b626 (diff)
parente0b4cc7584476f4b9da8590789a59f5a27ca0bd6 (diff)
downloadplatform_external_arm-trusted-firmware-133e6f7e9b66bdc50d31ff86dd10a0d826a713fb.tar.gz
platform_external_arm-trusted-firmware-133e6f7e9b66bdc50d31ff86dd10a0d826a713fb.tar.bz2
platform_external_arm-trusted-firmware-133e6f7e9b66bdc50d31ff86dd10a0d826a713fb.zip
Merge "allwinner: Unify Platform specific defines for PSCI module" into integration
-rw-r--r--plat/allwinner/common/include/platform_def.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/allwinner/common/include/platform_def.h b/plat/allwinner/common/include/platform_def.h
index 4de8b0bc4..32a7c0408 100644
--- a/plat/allwinner/common/include/platform_def.h
+++ b/plat/allwinner/common/include/platform_def.h
@@ -40,17 +40,17 @@
#define PLAT_MAX_OFF_STATE U(2)
#define PLAT_MAX_PWR_LVL U(2)
-#define PLAT_NUM_PWR_DOMAINS (1 + \
+#define PLAT_NUM_PWR_DOMAINS (U(1) + \
PLATFORM_CLUSTER_COUNT + \
PLATFORM_CORE_COUNT)
#define PLAT_PHY_ADDR_SPACE_SIZE (1ULL << 32)
#define PLAT_VIRT_ADDR_SPACE_SIZE (1ULL << 28)
-#define PLATFORM_CLUSTER_COUNT 1
+#define PLATFORM_CLUSTER_COUNT U(1)
#define PLATFORM_CORE_COUNT (PLATFORM_CLUSTER_COUNT * \
PLATFORM_MAX_CPUS_PER_CLUSTER)
-#define PLATFORM_MAX_CPUS_PER_CLUSTER 4
+#define PLATFORM_MAX_CPUS_PER_CLUSTER U(4)
#define PLATFORM_MMAP_REGIONS 4
#define PLATFORM_STACK_SIZE (0x1000 / PLATFORM_CORE_COUNT)