Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch: soc: st_stm32: Remove unused enumeration from F4, F3 SoCs #1234

Merged
merged 1 commit into from
Aug 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 0 additions & 15 deletions arch/arm/soc/st_stm32/stm32f3/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,6 @@

#include <stm32f3xx.h>

/* 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
Expand Down
20 changes: 0 additions & 20 deletions arch/arm/soc/st_stm32/stm32f4/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,6 @@

#include <stm32f4xx.h>

/* 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
Expand Down