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

From: Paul Bolle
Date: Mon Apr 07 2014 - 04:12:43 EST


On Thu, 2014-03-20 at 09:20 +0000, Lee Jones wrote:
> This is a new driver. It's used to communicate with a special type of
> optimised Serial Flash Controller called the FSM. The FSM uses a subset
> of the SPI protocol to communicate with supported NOR-Flash devices.
>
> Acked-by Angus Clark <angus.clark@xxxxxx>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>

This patch seems to be commit d90db4a07429 ("mtd: st_spi_fsm: Allocate
resources and register with MTD framework") in current linux-next.

> ---
> drivers/mtd/devices/Kconfig | 8 +++
> drivers/mtd/devices/Makefile | 1 +
> drivers/mtd/devices/st_spi_fsm.c | 106 +++++++++++++++++++++++++++++++++++++++
> 3 files changed, 115 insertions(+)
> create mode 100644 drivers/mtd/devices/st_spi_fsm.c
>
> 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

> + 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?


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/