]> git.sur5r.net Git - openocd/commitdiff
flash: add Winbond w25q80bv spi support
authorNemui Trinomius <nemuisan_kawausogasuki@live.jp>
Tue, 16 Jul 2013 15:26:59 +0000 (16:26 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 1 Aug 2013 10:36:39 +0000 (10:36 +0000)
Not tested, adapted from http://tech.groups.yahoo.com/group/versaloon/message/391

Change-Id: Ibe87c617b3cdf70ee042112609ab46bea98a3e6d
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1511
Tested-by: jenkins
Reviewed-by: Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/spi.c

index 711ba518702387fde80998a84d5631cea1e4eda9..789757e32216ddb0643f140f964b869046f3d0a7 100644 (file)
@@ -21,7 +21,6 @@
  *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.           *
  ***************************************************************************/
 
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -66,6 +65,7 @@ struct flash_device flash_devices[] = {
        FLASH_ID("mac 25l3205",    0xd8, 0xc7, 0x001620c2, 0x100, 0x10000, 0x400000),
        FLASH_ID("mac 25l6405",    0xd8, 0xc7, 0x001720c2, 0x100, 0x10000, 0x800000),
        FLASH_ID("mcr n25q064",    0xd8, 0xc7, 0x0017ba20, 0x100, 0x10000, 0x800000),
+       FLASH_ID("win w25q80bv",   0xd8, 0xc7, 0x001440ef, 0x100, 0x10000, 0x100000),
        FLASH_ID("win w25q32dw",   0xd8, 0xc7, 0x001660ef, 0x100, 0x10000, 0x400000),
        FLASH_ID("win w25q64cv",   0xd8, 0xc7, 0x001740ef, 0x100, 0x10000, 0x800000),
        FLASH_ID(NULL,             0,    0,        0,          0,     0,       0)