aboutsummaryrefslogtreecommitdiff
path: root/product/n1sdp
diff options
context:
space:
mode:
authorManoj Kumar <manoj.kumar3@arm.com>2018-10-26 10:17:08 +0530
committerdavidcunado-arm <david.cunado@arm.com>2018-10-30 16:58:33 +0000
commit8eb5d5d09e8868e003e08c03b6d8f327e4044615 (patch)
treeec5847a45e8e0b1dbc4d555f8b2da67cf5eb6135 /product/n1sdp
parent4d77137e1e63cc87468a4c78b6592200db0374ac (diff)
n1sdp: add combined pik macros header file for n1sdp SCP
Change-Id: I9cf68e196728da9f1c4b578cce749918c0669fff Signed-off-by: Manoj Kumar <manoj.kumar3@arm.com>
Diffstat (limited to 'product/n1sdp')
-rw-r--r--product/n1sdp/include/n1sdp_scp_pik.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/product/n1sdp/include/n1sdp_scp_pik.h b/product/n1sdp/include/n1sdp_scp_pik.h
new file mode 100644
index 00000000..d6a850e8
--- /dev/null
+++ b/product/n1sdp/include/n1sdp_scp_pik.h
@@ -0,0 +1,24 @@
+/*
+ * Arm SCP/MCP Software
+ * Copyright (c) 2018, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef N1SDP_SCP_PIK_H
+#define N1SDP_SCP_PIK_H
+
+#include <n1sdp_pik_cpu.h>
+#include <n1sdp_pik_debug.h>
+#include <n1sdp_pik_scp.h>
+#include <n1sdp_pik_system.h>
+#include <n1sdp_scc_reg.h>
+#include <n1sdp_scp_mmap.h>
+
+#define PIK_CLUSTER(IDX) ((struct pik_cpu_reg *)SCP_PIK_CLUSTER_BASE(IDX))
+#define PIK_SCP ((struct pik_scp_reg *)SCP_PIK_SCP_BASE)
+#define PIK_SYSTEM ((struct pik_system_reg *)SCP_PIK_SYSTEM_BASE)
+#define PIK_DEBUG ((struct pik_debug_reg *)SCP_PIK_DEBUG_BASE)
+#define SCC ((struct scc_reg *)SCP_SCC_BASE)
+
+#endif /* N1SDP_SCP_PIK_H */