1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2018-2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #include "config_clock.h"
9 #include "scp_software_mmap.h"
10 
11 #include <mod_apcontext.h>
12 
13 #include <fwk_id.h>
14 #include <fwk_module.h>
15 #include <fwk_module_idx.h>
16 
17 /*
18  * AP Context module configuration
19  */
20 static const struct mod_apcontext_config apcontext_data = {
21     .base = SCP_AP_CONTEXT_BASE,
22     .size = SCP_AP_CONTEXT_SIZE,
23     .clock_id = FWK_ID_ELEMENT_INIT(FWK_MODULE_IDX_CLOCK,
24         CLOCK_IDX_INTERCONNECT),
25 };
26 
27 struct fwk_module_config config_apcontext = {
28     .data = &apcontext_data,
29 };
30