2013-04-16 08:31:40

by Girish KS

[permalink] [raw]
Subject: [PATCH] mtd: devices: added the 16mb winbond device

From: Girish K S <[email protected]>

added a 16mb winbond devce to the device list
erase size = 64k and number of blocks = 256

Signed-off-by: Girish K S <[email protected]>
---
drivers/mtd/devices/m25p80.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 2f3d2a5..c81ee12 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -840,6 +840,7 @@ static const struct spi_device_id m25p_ids[] = {
{ "w25q32dw", INFO(0xef6016, 0, 64 * 1024, 64, SECT_4K) },
{ "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
{ "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
+ { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
{ "w25q80", INFO(0xef5014, 0, 64 * 1024, 16, SECT_4K) },
{ "w25q80bl", INFO(0xef4014, 0, 64 * 1024, 16, SECT_4K) },
{ "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
--
1.7.5.4


2013-05-13 07:12:39

by Artem Bityutskiy

[permalink] [raw]
Subject: Re: [PATCH] mtd: devices: added the 16mb winbond device

On Tue, 2013-04-16 at 14:01 +0530, [email protected] wrote:
> From: Girish K S <[email protected]>
>
> added a 16mb winbond devce to the device list
> erase size = 64k and number of blocks = 256
>
> Signed-off-by: Girish K S <[email protected]>

Pushed to l2-mtd.git, but please, remember to use better suffixes. E.g.,
mb may mean mega bytes, or mega bits. 16MiB device, 64KiB block size is
a lot less ambiguous way communicate the sizes.

I've amended your commit message.

--
Best Regards,
Artem Bityutskiy