1/*
2 * Copyright (c) 2020 Teslabs Engineering S.L.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#if DT_NODE_HAS_STATUS(DT_NODELABEL(sdram1), okay)
8GROUP_START(SDRAM1)
9
10	SECTION_PROLOGUE(_STM32_SDRAM1_SECTION_NAME, (NOLOAD),)
11	{
12		*(.stm32_sdram1)
13		*(".stm32_sdram1.*")
14	} GROUP_LINK_IN(SDRAM1)
15
16GROUP_END(SDRAM1)
17#endif
18
19#if DT_NODE_HAS_STATUS(DT_NODELABEL(sdram2), okay)
20GROUP_START(SDRAM2)
21
22	SECTION_PROLOGUE(_STM32_SDRAM2_SECTION_NAME, (NOLOAD),)
23	{
24		*(.stm32_sdram2)
25		*(".stm32_sdram2.*")
26	} GROUP_LINK_IN(SDRAM2)
27
28GROUP_END(SDRAM2)
29#endif
30