Message ID | 20181128230800.13292-19-miquel.raynal@bootlin.com |
---|---|
State | Superseded |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
Series | MTD defconfigs/Kconfigs/Makefiles heavy cleanup | expand |
On Thu, 29 Nov 2018 00:07:54 +0100 Miquel Raynal <miquel.raynal@bootlin.com> wrote: > The NAND core should be selected by both SPI NAND and raw NAND > drivers. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > --- > drivers/mtd/nand/raw/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig > index a1fd476b0d..5624e47d65 100644 > --- a/drivers/mtd/nand/raw/Kconfig > +++ b/drivers/mtd/nand/raw/Kconfig > @@ -1,6 +1,8 @@ > > menuconfig MTD_RAW_NAND > bool "Raw NAND Device Support" > + select MTD_NAND_CORE > + I'm pretty sure this is not needed (yet). Let's not compile things we don't need as some devices have storage constraints.
Hi Boris, Boris Brezillon <boris.brezillon@bootlin.com> wrote on Thu, 29 Nov 2018 00:57:19 +0100: > On Thu, 29 Nov 2018 00:07:54 +0100 > Miquel Raynal <miquel.raynal@bootlin.com> wrote: > > > The NAND core should be selected by both SPI NAND and raw NAND > > drivers. > > > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > > --- > > drivers/mtd/nand/raw/Kconfig | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig > > index a1fd476b0d..5624e47d65 100644 > > --- a/drivers/mtd/nand/raw/Kconfig > > +++ b/drivers/mtd/nand/raw/Kconfig > > @@ -1,6 +1,8 @@ > > > > menuconfig MTD_RAW_NAND > > bool "Raw NAND Device Support" > > + select MTD_NAND_CORE > > + > > I'm pretty sure this is not needed (yet). Let's not compile things we > don't need as some devices have storage constraints. Ok, but I will keep the compilation fixes for the time when we will want to compile these files. Thanks, Miquèl
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index a1fd476b0d..5624e47d65 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -1,6 +1,8 @@ menuconfig MTD_RAW_NAND bool "Raw NAND Device Support" + select MTD_NAND_CORE + if MTD_RAW_NAND config SYS_NAND_SELF_INIT
The NAND core should be selected by both SPI NAND and raw NAND drivers. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> --- drivers/mtd/nand/raw/Kconfig | 2 ++ 1 file changed, 2 insertions(+)