All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ubi: Depend on MTD
@ 2024-04-11  5:05 John Watts
  2024-04-11  6:09 ` Michael Nazzareno Trimarchi
  2024-04-15  5:55 ` Heiko Schocher
  0 siblings, 2 replies; 7+ messages in thread
From: John Watts @ 2024-04-11  5:05 UTC (permalink / raw)
  To: Kyungmin Park, Heiko Schocher, Tom Rini; +Cc: u-boot, John Watts

UBI required MTD to build correctly, add it as a Kconfig dependency.

Signed-off-by: John Watts <contact@jookia.org>
---
While working with UBI on my SPI NAND patch series I found it was
possible to enable it without enabling the MTD subsystem.
Add a Kconfig option to solve this.
---
 drivers/mtd/ubi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index 5783d36c04..fd446d6efb 100644
--- a/drivers/mtd/ubi/Kconfig
+++ b/drivers/mtd/ubi/Kconfig
@@ -9,6 +9,7 @@ config UBI_SILENCE_MSG
 
 config MTD_UBI
 	bool "Enable UBI - Unsorted block images"
+	depends on MTD
 	select RBTREE
 	select MTD_PARTITIONS
 	help

---
base-commit: 777c28460947371ada40868dc994dfe8537d7115
change-id: 20240411-mtd-d2e811e17cc8

Best regards,
-- 
John Watts <contact@jookia.org>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-30  6:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11  5:05 [PATCH] ubi: Depend on MTD John Watts
2024-04-11  6:09 ` Michael Nazzareno Trimarchi
2024-04-26  5:18   ` Heiko Schocher
2024-04-26 15:52     ` Tom Rini
2024-04-26 15:56       ` Michael Nazzareno Trimarchi
2024-04-30  6:37         ` Dario Binacchi
2024-04-15  5:55 ` Heiko Schocher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.