diff --git a/arch/arm/soc/st_stm32/stm32f3/soc.h b/arch/arm/soc/st_stm32/stm32f3/soc.h index 33bd83a4758250..9300067507c93d 100644 --- a/arch/arm/soc/st_stm32/stm32f3/soc.h +++ b/arch/arm/soc/st_stm32/stm32f3/soc.h @@ -31,21 +31,6 @@ #include -/* IO pin functions */ -enum stm32f3x_pin_config_mode { - STM32F3X_PIN_CONFIG_BIAS_HIGH_IMPEDANCE = 0, - STM32F3X_PIN_CONFIG_BIAS_PULL_UP, - STM32F3X_PIN_CONFIG_BIAS_PULL_DOWN, - STM32F3X_PIN_CONFIG_ANALOG, - STM32F3X_PIN_CONFIG_DRIVE_OPEN_DRAIN, - STM32F3X_PIN_CONFIG_DRIVE_PUSH_PULL, - STM32F3X_PIN_CONFIG_DRIVE_OPEN_DRAIN_PU, - STM32F3X_PIN_CONFIG_DRIVE_OPEN_DRAIN_PD, - STM32F3X_PIN_CONFIG_DRIVE_PUSH_PULL_PU, - STM32F3X_PIN_CONFIG_DRIVE_PUSH_PULL_PD, - STM32F3X_PIN_CONFIG_AF, -}; - #include "soc_irq.h" #ifdef CONFIG_SERIAL_HAS_DRIVER diff --git a/arch/arm/soc/st_stm32/stm32f4/soc.h b/arch/arm/soc/st_stm32/stm32f4/soc.h index 1c99fda1428e7e..7fb5a05a3dfa6b 100644 --- a/arch/arm/soc/st_stm32/stm32f4/soc.h +++ b/arch/arm/soc/st_stm32/stm32f4/soc.h @@ -30,26 +30,6 @@ #include -/* IO pin functions */ -enum stm32f4x_pin_config_mode { - STM32F4X_PIN_CONFIG_DRIVE_PUSH_PULL, - STM32F4X_PIN_CONFIG_DRIVE_PUSH_UP, - STM32F4X_PIN_CONFIG_DRIVE_PUSH_DOWN, - STM32F4X_PIN_CONFIG_DRIVE_OPEN_DRAIN, - STM32F4X_PIN_CONFIG_DRIVE_OPEN_UP, - STM32F4X_PIN_CONFIG_DRIVE_OPEN_DOWN, - STM32F4X_PIN_CONFIG_AF_PUSH_PULL, - STM32F4X_PIN_CONFIG_AF_PUSH_UP, - STM32F4X_PIN_CONFIG_AF_PUSH_DOWN, - STM32F4X_PIN_CONFIG_AF_OPEN_DRAIN, - STM32F4X_PIN_CONFIG_AF_OPEN_UP, - STM32F4X_PIN_CONFIG_AF_OPEN_DOWN, - STM32F4X_PIN_CONFIG_BIAS_HIGH_IMPEDANCE, - STM32F4X_PIN_CONFIG_BIAS_PULL_UP, - STM32F4X_PIN_CONFIG_BIAS_PULL_DOWN, - STM32F4X_PIN_CONFIG_ANALOG, -}; - #include "soc_irq.h" #ifdef CONFIG_CLOCK_CONTROL_STM32_CUBE