Skip to content

Commit 1931067

Browse files
Alexander KozhinovAlexander Kozhinov
authored andcommitted
drivers: ethernet: eth_stm32_hal
use sram by alias istead of label Signed-off-by: Alexander Kozhinov <[email protected]>
1 parent c409715 commit 1931067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ethernet/eth_stm32_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
7070
#define __eth_stm32_desc __dtcm_noinit_section
7171
#define __eth_stm32_buf __dtcm_noinit_section
7272
#elif defined(CONFIG_SOC_SERIES_STM32H7X) && \
73-
DT_NODE_HAS_STATUS(DT_NODELABEL(sram3), okay)
73+
DT_NODE_HAS_STATUS(DT_ALIAS(sramnocache), okay)
7474
#define __eth_stm32_desc __attribute__((section(".eth_stm32_desc")))
7575
#define __eth_stm32_buf __attribute__((section(".eth_stm32_buf")))
7676
#elif defined(CONFIG_NOCACHE_MEMORY)

0 commit comments

Comments
 (0)