1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  *
7  * Description:
8  *     RAM firmware memory layout for the linker script.
9  */
10 
11 #ifndef FMW_MEMORY_H
12 #define FMW_MEMORY_H
13 
14 #include "mcp_mmap.h"
15 #include "mcp_software_mmap.h"
16 
17 #define FMW_MEM_MODE ARCH_MEM_MODE_DUAL_REGION_RELOCATION
18 
19 /*
20  * RAM instruction memory
21  */
22 #define FMW_MEM0_SIZE MCP_ITC_RAM_SIZE
23 #define FMW_MEM0_BASE MCP_ITC_RAM_BASE
24 
25 /*
26  * RAM data memory
27  */
28 #define FMW_MEM1_SIZE MCP_DTC_RAM_SIZE
29 #define FMW_MEM1_BASE MCP_DTC_RAM_BASE
30 
31 #endif /* FMW_MEMORY_H */
32