1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

dirvers/mtd: use imply instead of select

Using imply allow for user to deselect the default MTD backends
This commit is contained in:
Francisco Molina 2021-09-29 10:13:51 +02:00
parent 0b7eb2bbc9
commit 36d1911e65

View File

@ -8,38 +8,38 @@
config HAVE_MTD_AT24CXXX
bool
depends on MODULE_AT24CXXX
select MODULE_MTD_AT24CXXX if MODULE_MTD
imply MODULE_MTD_AT24CXXX if MODULE_MTD
help
Indicates that a at24cxxx EEPROM MTD is present
config HAVE_MTD_AT25XXX
bool
depends on MODULE_AT25XXX
select MODULE_MTD_AT25XXX if MODULE_MTD
imply MODULE_MTD_AT25XXX if MODULE_MTD
help
Indicates that a at25xxx SPI-EEPROM MTD is present
config HAVE_MTD_NATIVE
bool
select MODULE_MTD_NATIVE if MODULE_MTD
imply MODULE_MTD_NATIVE if MODULE_MTD
help
Indicates that a native MTD is present.
config HAVE_MTD_SD_SCARD
bool
select MODULE_MTD_SD_CARD if MODULE_MTD
imply MODULE_MTD_SD_CARD if MODULE_MTD
help
Indicates that a sdcard MTD is present
config HAVE_MTD_SPI_NOR
bool
select MODULE_MTD_SPI_NOR if MODULE_MTD
imply MODULE_MTD_SPI_NOR if MODULE_MTD
help
Indicates that a spi-nor MTD is present
config HAVE_MTD_SPI_MCI
bool
select MODULE_MTD_MCI if MODULE_MTD
imply MODULE_MTD_MCI if MODULE_MTD
help
Indicates that a Multimedia Card Interface (MCI) MTD is present