spiflash: now using 64k sectors
authorYann Sionneau <ys@m-labs.hk>
Fri, 15 May 2015 09:03:02 +0000 (11:03 +0200)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Wed, 27 May 2015 10:44:14 +0000 (18:44 +0800)
software/libbase/spiflash.c

index da8fd756616b9fc1ad098e14b03b199159ccda72..529fd47b4b2d6e1c05a53d80257d3ee6491807da 100644 (file)
@@ -8,7 +8,7 @@
 #define WRDI_CMD         0x04
 #define RDSR_CMD         0x05
 #define WREN_CMD         0x06
-#define SE_CMD           0x20
+#define SE_CMD           0xd8
 
 #define BITBANG_CLK         (1 << 1)
 #define BITBANG_CS_N        (1 << 2)