drivers: ethernet: remove sections.ld for SOC_SERIES_STM32H5X
remove section(".eth_stm32_desc") and section(".eth_stm32_desc") for SOC_SERIES_STM32H5X Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
This commit is contained in:
parent
21561e4e03
commit
4dc0bd1800
3 changed files with 1 additions and 21 deletions
|
@ -84,7 +84,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
DT_NODE_HAS_STATUS(DT_CHOSEN(zephyr_dtcm), okay)
|
||||
#define __eth_stm32_desc __dtcm_noinit_section
|
||||
#define __eth_stm32_buf __dtcm_noinit_section
|
||||
#elif defined(CONFIG_SOC_SERIES_STM32H7X) || defined(CONFIG_SOC_SERIES_STM32H5X)
|
||||
#elif defined(CONFIG_SOC_SERIES_STM32H7X)
|
||||
#define __eth_stm32_desc __attribute__((section(".eth_stm32_desc")))
|
||||
#define __eth_stm32_buf __attribute__((section(".eth_stm32_buf")))
|
||||
#elif defined(CONFIG_NOCACHE_MEMORY)
|
||||
|
|
|
@ -4,6 +4,5 @@ zephyr_include_directories(${ZEPHYR_BASE}/drivers)
|
|||
zephyr_sources(
|
||||
soc.c
|
||||
)
|
||||
zephyr_linker_sources(SECTIONS sections.ld)
|
||||
|
||||
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Mario Jaun
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(mac), okay)
|
||||
|
||||
SECTION_DATA_PROLOGUE(eth_stm32,(NOLOAD),)
|
||||
{
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(sram3), okay)
|
||||
. = ABSOLUTE(DT_REG_ADDR(DT_NODELABEL(sram3)));
|
||||
*(.eth_stm32_desc)
|
||||
. = ABSOLUTE(DT_REG_ADDR(DT_NODELABEL(sram3))) + 256;
|
||||
*(.eth_stm32_buf)
|
||||
. = ABSOLUTE(DT_REG_ADDR(DT_NODELABEL(sram3))) + 16K;
|
||||
} GROUP_DATA_LINK_IN(LINKER_DT_NODE_REGION_NAME(DT_NODELABEL(sram3)), LINKER_DT_NODE_REGION_NAME(DT_NODELABEL(sram3)))
|
||||
#endif
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue