aboutsummaryrefslogtreecommitdiff
path: root/product/rdn1e1/scp_romfw/fmw_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'product/rdn1e1/scp_romfw/fmw_memory.h')
-rw-r--r--product/rdn1e1/scp_romfw/fmw_memory.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/product/rdn1e1/scp_romfw/fmw_memory.h b/product/rdn1e1/scp_romfw/fmw_memory.h
new file mode 100644
index 00000000..246b8d9e
--- /dev/null
+++ b/product/rdn1e1/scp_romfw/fmw_memory.h
@@ -0,0 +1,32 @@
+/*
+ * Arm SCP/MCP Software
+ * Copyright (c) 2017-2020, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ * Description:
+ * ROM firmware memory layout for the linker script.
+ */
+
+#ifndef FMW_MEMORY_H
+#define FMW_MEMORY_H
+
+#include <scp_system_mmap_scp.h>
+
+#define FIRMWARE_MEM_MODE FWK_MEM_MODE_DUAL_REGION_RELOCATION
+
+/*
+ * ROM memory
+ */
+#define FIRMWARE_MEM0_SIZE SCP_ROM_SIZE
+#define FIRMWARE_MEM0_BASE SCP_ROM_BASE
+
+/*
+ * RAM memory
+ */
+#define FIRMWARE_MEM1_SIZE SCP_RAM1_SIZE
+#define FIRMWARE_MEM1_BASE SCP_RAM1_BASE
+
+#define FIRMWARE_STACK_SIZE (1 * 1024)
+
+#endif /* FMW_MEMORY_H */