Hi On Thu, Apr 11, 2024 at 7:06 AM John Watts <cont...@jookia.org> wrote: > > UBI required MTD to build correctly, add it as a Kconfig dependency. > > Signed-off-by: John Watts <cont...@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 > > ---
Reviewed-by: Michael Trimarchi <mich...@amarulasolutins.com> > base-commit: 777c28460947371ada40868dc994dfe8537d7115 > change-id: 20240411-mtd-d2e811e17cc8 > > Best regards, > -- > John Watts <cont...@jookia.org> > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com