From 068639c543067b57e8b738e391dfe7b4c1275ac7 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Thu, 23 May 2024 11:51:35 +0200 Subject: [PATCH] drivers: ethernet: stm32: Remove deprecated API support on impacted series In release V3.3 new STM32Cube HAL ethernet API was added to STM32 ethernet driver for STM32F4, STM32F7 and STM32H7 series. At the same time, the legacy API was deprecated for these series. I'm now fully removing the legacy API support for these series. Signed-off-by: Erwan Gouriou --- drivers/ethernet/Kconfig.stm32_hal | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/ethernet/Kconfig.stm32_hal b/drivers/ethernet/Kconfig.stm32_hal index 6bd0c65f9b91e2..f980091a755ab5 100644 --- a/drivers/ethernet/Kconfig.stm32_hal +++ b/drivers/ethernet/Kconfig.stm32_hal @@ -24,17 +24,17 @@ choice ETH_STM32_HAL_API_VERSION prompt "STM32Cube HAL Ethernet version" config ETH_STM32_HAL_API_V2 - bool "Use new HAL driver" + bool "Use official STM32Cube HAL driver" depends on SOC_SERIES_STM32H7X || SOC_SERIES_STM32H5X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X help - Use the new HAL driver instead of the legacy one. + Use the official STM32Cube HAL driver instead of the legacy one. config ETH_STM32_HAL_API_V1 - bool "Use legacy HAL driver" - depends on !SOC_SERIES_STM32H5X - select DEPRECATED if SOC_SERIES_STM32H7X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X + bool "Use legacy STM32Cube HAL driver" + depends on SOC_SERIES_STM32F1X || SOC_SERIES_STM32F2X help - Driver version based on legacy HAL version. Deprecated unless using STM32F2 series. + Driver version based on legacy HAL version as the current official API version. + Available only for STM32F1 and STM32F2 SoC series. endchoice