aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/armcm_reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/armcm_reset.c')
-rw-r--r--src/generic/armcm_reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generic/armcm_reset.c b/src/generic/armcm_reset.c
index 6cd9ad8c..d747d9fc 100644
--- a/src/generic/armcm_reset.c
+++ b/src/generic/armcm_reset.c
@@ -5,7 +5,7 @@
// This file may be distributed under the terms of the GNU GPLv3 license.
#include "armcm_reset.h" // try_request_canboot
-#include "autoconf.h" // CONFIG_FLASH_START
+#include "autoconf.h" // CONFIG_FLASH_APPLICATION_ADDRESS
#include "board/internal.h" // NVIC_SystemReset
#include "board/irq.h" // irq_disable
#include "command.h" // DECL_COMMAND_FLAGS
@@ -17,7 +17,7 @@
static void
canboot_reset(uint64_t req_signature)
{
- if (CONFIG_FLASH_START == CONFIG_FLASH_BOOT_ADDRESS)
+ if (CONFIG_FLASH_APPLICATION_ADDRESS == CONFIG_FLASH_BOOT_ADDRESS)
// No bootloader
return;
uint32_t *bl_vectors = (uint32_t *)CONFIG_FLASH_BOOT_ADDRESS;