aboutsummaryrefslogtreecommitdiff
path: root/product/tc0/include/tc0_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'product/tc0/include/tc0_core.h')
-rw-r--r--product/tc0/include/tc0_core.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/product/tc0/include/tc0_core.h b/product/tc0/include/tc0_core.h
deleted file mode 100644
index 41734d3e4c91..000000000000
--- a/product/tc0/include/tc0_core.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Arm SCP/MCP Software
- * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-
-#ifndef TC0_CORE_H
-#define TC0_CORE_H
-
-#include <fwk_assert.h>
-
-#define TC0_CORE_PER_CLUSTER_MAX 8
-
-#define CORES_PER_CLUSTER 8
-#define NUMBER_OF_CLUSTERS 1
-
-static inline unsigned int tc0_core_get_cluster_count(void)
-{
- return NUMBER_OF_CLUSTERS;
-}
-
-static inline unsigned int tc0_core_get_core_per_cluster_count(
- unsigned int cluster)
-{
- fwk_assert(cluster < tc0_core_get_cluster_count());
-
- return CORES_PER_CLUSTER;
-}
-
-static inline unsigned int tc0_core_get_core_count(void)
-{
- return tc0_core_get_core_per_cluster_count(0) *
- tc0_core_get_cluster_count();
-}
-
-#endif /* TC0_CORE_H */