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:
parent
ac36f52815
commit
d9882ff422
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ config EEPROM_AT24
|
||||||
bool "Atmel AT24 (and compatible) I2C EEPROM support"
|
bool "Atmel AT24 (and compatible) I2C EEPROM support"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_ATMEL_AT24_ENABLED
|
depends on DT_HAS_ATMEL_AT24_ENABLED
|
||||||
depends on I2C
|
select I2C
|
||||||
select EEPROM_AT2X
|
select EEPROM_AT2X
|
||||||
help
|
help
|
||||||
Enable support for Atmel AT24 (and compatible) I2C EEPROMs.
|
Enable support for Atmel AT24 (and compatible) I2C EEPROMs.
|
||||||
|
|
@ -54,7 +54,7 @@ config EEPROM_AT25
|
||||||
bool "Atmel AT25 (and compatible) SPI EEPROM support"
|
bool "Atmel AT25 (and compatible) SPI EEPROM support"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_ATMEL_AT25_ENABLED
|
depends on DT_HAS_ATMEL_AT25_ENABLED
|
||||||
depends on SPI
|
select SPI
|
||||||
select EEPROM_AT2X
|
select EEPROM_AT2X
|
||||||
help
|
help
|
||||||
Enable support for Atmel AT25 (and compatible) SPI EEPROMs.
|
Enable support for Atmel AT25 (and compatible) SPI EEPROMs.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue