aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNemui Trinomius <nemuisan_kawausogasuki@live.jp>2013-07-16 16:26:59 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-08-01 10:36:39 +0000
commitbb91c64a6094ef5884ec8d93db6f9a3393e58449 (patch)
treebf2db7bce027b98546dcf3371928c66a2ca74d04
parent1f143e4391eacb09e13276c8200ddda74188dc86 (diff)
downloadriscv-openocd-bb91c64a6094ef5884ec8d93db6f9a3393e58449.zip
riscv-openocd-bb91c64a6094ef5884ec8d93db6f9a3393e58449.tar.gz
riscv-openocd-bb91c64a6094ef5884ec8d93db6f9a3393e58449.tar.bz2
flash: add Winbond w25q80bv spi support
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>
-rw-r--r--src/flash/nor/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c
index 711ba51..789757e 100644
--- a/src/flash/nor/spi.c
+++ b/src/flash/nor/spi.c
@@ -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)