From a8b9c126cdcb7bee6ecf6a46bcdc3c06ec366f5c Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Fri, 15 May 2015 11:03:02 +0200 Subject: [PATCH] spiflash: now using 64k sectors --- software/libbase/spiflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2