From bfcbe2a78f709417c2f41de32a8d6b61842a0abd Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Thu, 19 May 2016 14:23:13 +0200 Subject: Refactor FPGA bitstream upload code. Move the N25Q128 code to it's own file in order to be able to reuse it for the keystore memory code. --- stm-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stm-init.c') diff --git a/stm-init.c b/stm-init.c index 9b86a30..2c19d58 100644 --- a/stm-init.c +++ b/stm-init.c @@ -85,7 +85,7 @@ void stm_init(void) /* Give the FPGA access to it's bitstream ASAP (maybe this should actually * be done in the application, before calling stm_init()). */ - fpgacfg_give_access_to_fpga(); + fpgacfg_access_control(ALLOW_FPGA); #endif #endif #ifdef HAL_UART_MODULE_ENABLED -- cgit v1.2.3