aboutsummaryrefslogtreecommitdiff
path: root/stm-keystore.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-02-19 14:14:10 -0500
committerPaul Selkirk <paul@psgd.org>2017-02-19 17:58:57 -0500
commit742cbe3d4090d62ee5f871e487ce88145d12c04e (patch)
tree3232ea6814a624c482a22f20b0eb250b983cba9b /stm-keystore.h
parent1dc664a90471f165855c737c5ae649d01897b2d6 (diff)
Simplify spiflash test code slightly, add keystore test code.
Diffstat (limited to 'stm-keystore.h')
-rw-r--r--stm-keystore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stm-keystore.h b/stm-keystore.h
index 9054db5..437cdf6 100644
--- a/stm-keystore.h
+++ b/stm-keystore.h
@@ -39,6 +39,7 @@
#include "spiflash_n25q128.h"
#define KEYSTORE_PAGE_SIZE N25Q128_PAGE_SIZE
+#define KEYSTORE_NUM_PAGES N25Q128_NUM_PAGES
#define KEYSTORE_SECTOR_SIZE N25Q128_SECTOR_SIZE
#define KEYSTORE_NUM_SECTORS N25Q128_NUM_SECTORS
#define KEYSTORE_SUBSECTOR_SIZE N25Q128_SUBSECTOR_SIZE