1/*
2 * Copyright (c) 2021, Laird Connectivity
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7
8#include <zephyr/devicetree.h>
9
10MEMORY
11     {
12#if defined(CONFIG_CODE_DDR)
13        DDR  (wx) : ORIGIN = 0x80400000, LENGTH = 0x00C00000
14#else
15        DDR  (wx) : ORIGIN = 0x80000000, LENGTH = 0x01000000
16#endif
17     }
18
19#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
20
21SECTIONS
22     {
23#ifdef CONFIG_OPENAMP_RSC_TABLE
24        SECTION_PROLOGUE(.resource_table,, SUBALIGN(8))
25        {
26            KEEP(*(.resource_table*))
27        } GROUP_LINK_IN(ROMABLE_REGION)
28#endif
29     }
30