[LEDE-DEV] [PATCH] kernel/mtd: Add support for Macronix mx25u25635f, used in Archer C2600 v1.1

Rafał Miłecki zajec5 at gmail.com
Mon May 30 13:56:01 PDT 2016


On 30 May 2016 at 11:52, Ash Benz <ash.benz at bk.ru> wrote:
> Signed-off-by: Ash Benz <ash.benz at bk.ru>
> ---
>  .../475-mtd-spi-nor-add-macronix-mx25u25635f.patch             | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>  create mode 100644 target/linux/generic/patches-3.18/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
>
> diff --git a/target/linux/generic/patches-3.18/475-mtd-spi-nor-add-macronix-mx25u25635f.patch b/target/linux/generic/patches-3.18/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
> new file mode 100644
> index 0000000..72c0832
> --- /dev/null
> +++ b/target/linux/generic/patches-3.18/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
> @@ -0,0 +1,10 @@
> +--- a/drivers/mtd/spi-nor/spi-nor.c
> ++++ b/drivers/mtd/spi-nor/spi-nor.c
> +@@ -532,6 +532,7 @@ static const struct spi_device_id spi_no
> +       { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
> +       { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
> +       { "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, 0) },
> ++      { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, 0) },
> +       { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
> +       { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_QUAD_READ) },
> +       { "mx66l1g55g",  INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) },

This patch is so trivial there is no reason not to upstream it. Please
send it to the l2-mtd ML. I should've said it earlier, but I missed
it.

-- 
Rafał



More information about the Lede-dev mailing list