soc: arm: stm32h7: remove manual linker section

Remove the manually created linker section, because it's already
automatically generated for all sram regions in the DTS with the
"zephyr,memory-region" compatibility.

Signed-off-by: Hein Wessels <heinwessels93@gmail.com>
This commit is contained in:
Hein Wessels 2023-03-24 09:38:58 +01:00 committed by Fabio Baltieri
parent 641722afab
commit 68b9be8381

View file

@ -25,12 +25,3 @@ SECTION_DATA_PROLOGUE(eth_stm32,(NOLOAD),)
} GROUP_DATA_LINK_IN(LINKER_DT_NODE_REGION_NAME(DT_NODELABEL(sram2)), LINKER_DT_NODE_REGION_NAME(DT_NODELABEL(sram2)))
#endif
#endif
#if DT_NODE_HAS_STATUS(DT_NODELABEL(sram4), okay)
SECTION_PROLOGUE (sram4, ABSOLUTE(DT_REG_ADDR(DT_NODELABEL(sram4))) (NOLOAD),)
{
__sram4_start = .;
KEEP(*(SORT_BY_NAME(".sram4*")))
__sram4_end = .;
} GROUP_DATA_LINK_IN(SRAM4, SRAM4)
#endif /* DT_NODE_HAS_STATUS(DT_NODELABEL(sram4), okay) */