[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cb800292-a732-f6f4-650e-00bffe760e5a@microchip.com>
Date: Wed, 16 Jan 2019 06:19:20 +0000
From: <Tudor.Ambarus@...rochip.com>
To: <yogeshnarayan.gaur@....com>, <linux-mtd@...ts.infradead.org>,
<boris.brezillon@...tlin.com>, <broonie@...nel.org>,
<marek.vasut@...il.com>, <vigneshr@...com>,
<linux-spi@...r.kernel.org>, <devicetree@...r.kernel.org>
CC: <robh@...nel.org>, <mark.rutland@....com>, <shawnguo@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<computersforpeace@...il.com>, <frieder.schrempf@...eet.de>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v7 2/5] mtd: spi-nor: add octal read flag for flash
mt35xu512aba
On 01/15/2019 12:05 PM, Yogesh Narayan Gaur wrote:
> Add octal read flag for flash mt35xu512aba.
> This flash, mt35xu512aba, is only complaint to SFDP JESD216B and does
> not seem to support newer JESD216C standard that provides auto
> detection of Octal mode capabilities and opcodes. Therefore, this
> capability is manually added using new SPI_NOR_OCTAL_READ flag.
>
> Signed-off-by: Vignesh R <vigneshr@...com>
> Signed-off-by: Yogesh Narayan Gaur <yogeshnarayan.gaur@....com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@...rochip.com>
> ---
> drivers/mtd/spi-nor/spi-nor.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 872d70722672..53a3bcc6a55b 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1877,7 +1877,8 @@ static const struct flash_info spi_nor_ids[] = {
> /* Micron */
> {
> "mt35xu512aba", INFO(0x2c5b1a, 0, 128 * 1024, 512,
> - SECT_4K | USE_FSR | SPI_NOR_4B_OPCODES)
> + SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
> + SPI_NOR_4B_OPCODES)
> },
>
> /* PMC */
>
Powered by blists - more mailing lists