projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7e161
)
spiflash: now using 64k sectors
author
Yann Sionneau
<ys@m-labs.hk>
Fri, 15 May 2015 09:03:02 +0000
(11:03 +0200)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Wed, 27 May 2015 10:44:14 +0000
(18:44 +0800)
software/libbase/spiflash.c
patch
|
blob
|
history
diff --git
a/software/libbase/spiflash.c
b/software/libbase/spiflash.c
index da8fd756616b9fc1ad098e14b03b199159ccda72..529fd47b4b2d6e1c05a53d80257d3ee6491807da 100644
(file)
--- a/
software/libbase/spiflash.c
+++ b/
software/libbase/spiflash.c
@@
-8,7
+8,7
@@
#define WRDI_CMD 0x04
#define RDSR_CMD 0x05
#define WREN_CMD 0x06
-#define SE_CMD 0x
20
+#define SE_CMD 0x
d8
#define BITBANG_CLK (1 << 1)
#define BITBANG_CS_N (1 << 2)