From: Yann Sionneau Date: Fri, 15 May 2015 09:03:02 +0000 (+0200) Subject: spiflash: now using 64k sectors X-Git-Tag: 24jan2021_ls180~2239 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8b9c126cdcb7bee6ecf6a46bcdc3c06ec366f5c;p=litex.git spiflash: now using 64k sectors --- diff --git a/software/libbase/spiflash.c b/software/libbase/spiflash.c index da8fd756..529fd47b 100644 --- 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 0x20 +#define SE_CMD 0xd8 #define BITBANG_CLK (1 << 1) #define BITBANG_CS_N (1 << 2)