Patchwork mtd: m25p80: add support for m25px16

login
register
mail settings
Submitter Igor Grinberg
Date Nov. 11, 2013, 8:55 p.m.
Message ID <1384203329-24998-1-git-send-email-grinberg@compulab.co.il>
Download mbox | patch
Permalink /patch/290492/
State Accepted
Commit 574926c5bc3d787bb0b935b99d8825b3199ba76b
Headers show

Comments

Igor Grinberg - Nov. 11, 2013, 8:55 p.m.
Add support for Micron m25px16 spi flash chip.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
 drivers/mtd/devices/m25p80.c | 1 +
 1 file changed, 1 insertion(+)
Igor Grinberg - Dec. 4, 2013, 7:11 a.m.
ping...

On 11/11/13 22:55, Igor Grinberg wrote:
> Add support for Micron m25px16 spi flash chip.
> 
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
> ---
>  drivers/mtd/devices/m25p80.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
> index 6bc9618..1da91c8 100644
> --- a/drivers/mtd/devices/m25p80.c
> +++ b/drivers/mtd/devices/m25p80.c
> @@ -855,6 +855,7 @@ static const struct spi_device_id m25p_ids[] = {
>  	{ "m25pe80", INFO(0x208014,  0, 64 * 1024, 16,       0) },
>  	{ "m25pe16", INFO(0x208015,  0, 64 * 1024, 32, SECT_4K) },
>  
> +	{ "m25px16",    INFO(0x207115,  0, 64 * 1024, 32, SECT_4K) },
>  	{ "m25px32",    INFO(0x207116,  0, 64 * 1024, 64, SECT_4K) },
>  	{ "m25px32-s0", INFO(0x207316,  0, 64 * 1024, 64, SECT_4K) },
>  	{ "m25px32-s1", INFO(0x206316,  0, 64 * 1024, 64, SECT_4K) },
>
Brian Norris - Dec. 4, 2013, 11:49 p.m.
On Wed, Dec 04, 2013 at 09:11:26AM +0200, Igor Grinberg wrote:
> ping...
> 
> On 11/11/13 22:55, Igor Grinberg wrote:
> > Add support for Micron m25px16 spi flash chip.
> > 
> > Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>

Pushed to l2-mtd.git. Thanks!

Brian

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 6bc9618..1da91c8 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -855,6 +855,7 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "m25pe80", INFO(0x208014,  0, 64 * 1024, 16,       0) },
 	{ "m25pe16", INFO(0x208015,  0, 64 * 1024, 32, SECT_4K) },
 
+	{ "m25px16",    INFO(0x207115,  0, 64 * 1024, 32, SECT_4K) },
 	{ "m25px32",    INFO(0x207116,  0, 64 * 1024, 64, SECT_4K) },
 	{ "m25px32-s0", INFO(0x207316,  0, 64 * 1024, 64, SECT_4K) },
 	{ "m25px32-s1", INFO(0x206316,  0, 64 * 1024, 64, SECT_4K) },