1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 00:04:05 +02:00

generic: fix wrong number of erase sectors for xxxS33B SPI flashes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22643 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2010-08-14 21:07:28 +00:00
parent 1aaea7245a
commit 43aca5a0ec
4 changed files with 12 additions and 12 deletions

View File

@ -5,9 +5,9 @@
{ "en25p64", 0x1c2017, 0, 64 * 1024, 128, }, { "en25p64", 0x1c2017, 0, 64 * 1024, 128, },
+ /* Numonyx -- xxxs33b */ + /* Numonyx -- xxxs33b */
+ { "160s33b", 0x898911, 0, 64 * 1024, 64, }, + { "160s33b", 0x898911, 0, 64 * 1024, 32, },
+ { "320s33b", 0x898912, 0, 64 * 1024, 128, }, + { "320s33b", 0x898912, 0, 64 * 1024, 64, },
+ { "640s33b", 0x898913, 0, 64 * 1024, 256, }, + { "640s33b", 0x898913, 0, 64 * 1024, 128, },
+ +
/* PMC -- pm25x "blocks" are 32K, sectors are 4K */ /* PMC -- pm25x "blocks" are 32K, sectors are 4K */
{ "pm25lv512", 0, 32 * 1024, 2, SECT_4K }, { "pm25lv512", 0, 32 * 1024, 2, SECT_4K },

View File

@ -5,9 +5,9 @@
{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+ /* Numonyx -- xxxs33b */ + /* Numonyx -- xxxs33b */
+ { "160s33b", INFO(0x898911, 0, 64 * 1024, 64, 0) }, + { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) },
+ { "320s33b", INFO(0x898912, 0, 64 * 1024, 128, 0) }, + { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) },
+ { "640s33b", INFO(0x898913, 0, 64 * 1024, 256, 0) }, + { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) },
+ +
/* PMC -- pm25x "blocks" are 32K, sectors are 4K */ /* PMC -- pm25x "blocks" are 32K, sectors are 4K */
{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) }, { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) },

View File

@ -5,9 +5,9 @@
{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+ /* Numonyx -- xxxs33b */ + /* Numonyx -- xxxs33b */
+ { "160s33b", INFO(0x898911, 0, 64 * 1024, 64, 0) }, + { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) },
+ { "320s33b", INFO(0x898912, 0, 64 * 1024, 128, 0) }, + { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) },
+ { "640s33b", INFO(0x898913, 0, 64 * 1024, 256, 0) }, + { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) },
+ +
/* PMC -- pm25x "blocks" are 32K, sectors are 4K */ /* PMC -- pm25x "blocks" are 32K, sectors are 4K */
{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) }, { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) },

View File

@ -5,9 +5,9 @@
{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+ /* Numonyx -- xxxs33b */ + /* Numonyx -- xxxs33b */
+ { "160s33b", INFO(0x898911, 0, 64 * 1024, 64, 0) }, + { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) },
+ { "320s33b", INFO(0x898912, 0, 64 * 1024, 128, 0) }, + { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) },
+ { "640s33b", INFO(0x898913, 0, 64 * 1024, 256, 0) }, + { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) },
+ +
/* PMC -- pm25x "blocks" are 32K, sectors are 4K */ /* PMC -- pm25x "blocks" are 32K, sectors are 4K */
{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) }, { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) },