Re: [PATCH v6 01/36] mtd: st_spi_fsm: Allocate resources and register with MTD framework

From: Paul Bolle
Date: Mon Apr 07 2014 - 05:42:03 EST


On Mon, 2014-04-07 at 10:11 +0100, Lee Jones wrote:
> > > diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig
> > > index 0128138..1210bc2 100644
> > > --- a/drivers/mtd/devices/Kconfig
> > > +++ b/drivers/mtd/devices/Kconfig
> > > @@ -210,6 +210,14 @@ config MTD_DOCG3
> > > M-Systems and now Sandisk. The support is very experimental,
> > > and doesn't give access to any write operations.
> > >
> > > +config MTD_ST_SPI_FSM
> > > + tristate "ST Microelectronics SPI FSM Serial Flash Controller"
> > > + depends on ARM || SH
> >
> > That should probably be
> > depends on ARM || SUPERH
>
> Actually it should be ARCH_STI, but thanks for the prompt.

I wouldn't have guessed that!

(Is ARCH_STI actually needed? ARCH_STI doesn't formally depend on ARM
but I don't think one can end up with a .config with ARCH_STI set
without ARM also set. Or am I mistaken?)

> > > + help
> > > + This provides an MTD device driver for the ST Microelectronics
> > > + SPI Fast Sequence Mode (FSM) Serial Flash Controller and support
> > > + for a subset of connected Serial Flash devices.
> > > +
> > > if MTD_DOCG3
> > > config BCH_CONST_M
> > > default 14
> >
> > Can this still be fixed in a future version of this series or should I
> > send a trivial patch?
>
> Do you mean the SH thing, or are you now referencing something else?
>
> If the former then I'm happy to send a fixup patch.

No, I was talking about the SH symbol. I'll gladly leave it up to you to
fix this.


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/