drivers/i2c: stm32: Configure driver by compatible

Use compatible information to configure i2c stm32.
With this, driver version selection is done thanks to compatible
and it is not needed anymore to do this via Kconfig symbol
selection under soc/

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-04-12 15:53:44 +02:00 committed by Kumar Gala
commit 9580992b3e
16 changed files with 7 additions and 63 deletions

View file

@ -49,10 +49,6 @@ config SPI_STM32
default y
depends on SPI
config I2C_STM32
default y
depends on I2C
config USB_DC_STM32
default y
depends on USB