1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2020-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 "scp_mmap.h"
15 
16 #define FMW_MEM_MODE ARCH_MEM_MODE_DUAL_REGION_RELOCATION
17 
18 /*
19  * RAM instruction memory
20  */
21 #define FMW_MEM0_SIZE SCP_ITC_RAM_SIZE
22 #define FMW_MEM0_BASE SCP_ITC_RAM_BASE
23 
24 /*
25  * RAM data memory
26  */
27 #define FMW_MEM1_SIZE SCP_DTC_RAM_SIZE
28 #define FMW_MEM1_BASE SCP_DTC_RAM_BASE
29 
30 #define FMW_STACK_SIZE (1 * 1024)
31 
32 #endif /* FMW_MEMORY_H */
33