eeprom: Move to using select in Kconfig for I2C & SPI busses

Move to using 'select SPI'/'select I2C' instead of 'depends on'
(see commit df81fef944 for more
 details)

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-08-11 23:01:28 -05:00 committed by Carles Cufí
parent ac36f52815
commit d9882ff422

View file

@ -45,7 +45,7 @@ config EEPROM_AT24
bool "Atmel AT24 (and compatible) I2C EEPROM support"
default y
depends on DT_HAS_ATMEL_AT24_ENABLED
depends on I2C
select I2C
select EEPROM_AT2X
help
Enable support for Atmel AT24 (and compatible) I2C EEPROMs.
@ -54,7 +54,7 @@ config EEPROM_AT25
bool "Atmel AT25 (and compatible) SPI EEPROM support"
default y
depends on DT_HAS_ATMEL_AT25_ENABLED
depends on SPI
select SPI
select EEPROM_AT2X
help
Enable support for Atmel AT25 (and compatible) SPI EEPROMs.