Message ID | 516d0c68.e10b420a.287d.ffff894c@mx.google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, 2013-04-16 at 14:01 +0530, girishks2000@gmail.com wrote: > From: Girish K S <ks.giri@samsung.com> > > added a 16mb winbond devce to the device list > erase size = 64k and number of blocks = 256 > > Signed-off-by: Girish K S <ks.giri@samsung.com> 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.
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) },