aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2021-09-13 12:03:21 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2021-09-13 12:03:21 +0300
commit34d20b94d7f653dd398014bf9038a5215a82eba1 (patch)
treee8c9f7b5c7e95b931768ba41e996b187348b903b
parentf3e5fc48c973ac160493556f0f9ccf220b3a1f8b (diff)
Added call to ice40mkm_init() during initialization.
-rw-r--r--stm-init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm-init.c b/stm-init.c
index c06554b..dc2972a 100644
--- a/stm-init.c
+++ b/stm-init.c
@@ -46,6 +46,7 @@
#ifdef HAL_SPI_MODULE_ENABLED
#include "stm-fpgacfg.h"
#include "stm-keystore.h"
+#include "stm-ice40mkm.h"
#endif
#ifdef HAL_SRAM_MODULE_ENABLED
#include "stm-fmc.h"
@@ -83,6 +84,7 @@ void stm_init(void)
#ifdef HAL_SPI_MODULE_ENABLED
fpgacfg_init();
keystore_init();
+ ice40mkm_init();
#endif
#ifdef TARGET_CRYPTECH_DEV_BRIDGE
// Blink blue LED for six seconds to not upset the Novena at boot.