[PATCH 4/4] mtd: spi-nor: micron-st: add mt25qu128abb and mt25ql128abb

Paul Barker paul.barker at sancloud.com
Mon Dec 6 03:05:34 PST 2021


On 27/10/2021 11:33, shiva.linuxworks at gmail.com wrote:
> From: Shivamurthy Shastri <sshivamurthy at micron.com>
> 
> Added new Micron SPI NOR flashes to structure flash_info, which supports
> advanced protection and security features.
> 
> Signed-off-by: Shivamurthy Shastri <sshivamurthy at micron.com>
> ---
>   drivers/mtd/spi-nor/micron-st.c | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/mtd/spi-nor/micron-st.c b/drivers/mtd/spi-nor/micron-st.c
> index b5d82e85fb92..2bebd76b091a 100644
> --- a/drivers/mtd/spi-nor/micron-st.c
> +++ b/drivers/mtd/spi-nor/micron-st.c
> @@ -158,10 +158,17 @@ static const struct flash_info st_parts[] = {
>   			      SECT_4K | SPI_NOR_QUAD_READ) },
>   	{ "n25q064a",    INFO(0x20bb17, 0, 64 * 1024,  128,
>   			      SECT_4K | SPI_NOR_QUAD_READ) },
> +	{ "mt25qu128abb", INFO6(0x20bb18, 0x12008c, 64 * 1024,  256,
> +				SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
> +				SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB |
> +				SPI_NOR_4BIT_BP | SPI_NOR_BP3_SR_BIT6) },
>   	{ "n25q128a11",  INFO(0x20bb18, 0, 64 * 1024,  256,
>   			      SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
>   			      SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB |
>   			      SPI_NOR_4BIT_BP | SPI_NOR_BP3_SR_BIT6) },
> +	{ "mt25ql128abb", INFO6(0x20ba18, 0x12008c, 64 * 1024,  256,
> +				SECT_4K | USE_FSR | SPI_NOR_HAS_LOCK |
> +				SPI_NOR_QUAD_READ) },
>   	{ "n25q128a13",  INFO(0x20ba18, 0, 64 * 1024,  256,
>   			      SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) },
>   	{ "mt25ql256a",  INFO6(0x20ba19, 0x104400, 64 * 1024,  512,
> 

I suspect this patch can be submitted as a standalone. It doesn't seem 
to depend on the others in this series.

Thanks,

-- 
Paul Barker
Principal Software Engineer
SanCloud Ltd

e: paul.barker at sancloud.com
w: https://sancloud.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA67255DFCCE62ECD.asc
Type: application/pgp-keys
Size: 7525 bytes
Desc: OpenPGP public key
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20211206/f37274e9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20211206/f37274e9/attachment.sig>


More information about the linux-mtd mailing list