aboutsummaryrefslogtreecommitdiff
path: root/stm-keystore.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-09-16 08:14:28 -0400
committerRob Austein <sra@hactrn.net>2016-09-16 08:14:28 -0400
commit01b59c41b8f4c38d6e2205a8ebc08dabf701640f (patch)
treeb1e681bd69a56b0896678ee198a35e8951244526 /stm-keystore.h
parent4b5afd660093ea6e95b86539f453ba4410ffc656 (diff)
Revised ks_flash. Compiles, not yet tested.
Diffstat (limited to 'stm-keystore.h')
-rw-r--r--stm-keystore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm-keystore.h b/stm-keystore.h
index 0c04481..457dc05 100644
--- a/stm-keystore.h
+++ b/stm-keystore.h
@@ -41,6 +41,8 @@
#define KEYSTORE_PAGE_SIZE N25Q128_PAGE_SIZE
#define KEYSTORE_SECTOR_SIZE N25Q128_SECTOR_SIZE
#define KEYSTORE_NUM_SECTORS N25Q128_NUM_SECTORS
+#define KEYSTORE_SUBSECTOR_SIZE N25Q128_SUBSECTOR_SIZE
+#define KEYSTORE_NUM_SUBSECTORS N25Q128_NUM_SUBSECTORS
/* Pins connected to the FPGA config memory (SPI flash) */
#define KSM_PROM_CS_N_Pin GPIO_PIN_0