]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: spi: SPI_FLASH_MTD depends on MTD
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Oct 2019 17:50:24 +0000 (19:50 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2019 22:10:51 +0000 (17:10 -0500)
commit2e3ad0512956104b2f809515b0dfe9da30b404c7
tree3539d6f055c82274cea3def4a7a8e138ebe477a7
parent0615ca8531b646935c130b0b1f0ac4c8672fd175
mtd: spi: SPI_FLASH_MTD depends on MTD

It is already the case that all defconfigs with SPI_FLASH_MTD also
declare using MTD, but let's make this consistent and enforce it in
Kconfig. Most of the time SPI_FLASH_MTD is used in conjunction with
UBI, which already depends on MTD.

Suggested-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/spi/Kconfig