aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/armcm_reset.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-12-14 18:44:07 -0500
committerKevin O'Connor <kevin@koconnor.net>2022-12-14 18:44:07 -0500
commit9b342c65c8a038ff980645452ab84556376bedc7 (patch)
tree59b235f448ef979cfa650c4999ee57f970f00274 /src/generic/armcm_reset.c
parentdc94a357528013ae182e413c3d7ec6145450a075 (diff)
downloadkutter-9b342c65c8a038ff980645452ab84556376bedc7.tar.gz
kutter-9b342c65c8a038ff980645452ab84556376bedc7.tar.xz
kutter-9b342c65c8a038ff980645452ab84556376bedc7.zip
armcm_link: Rename CONFIG_FLASH_START to CONFIG_FLASH_APPLICATION_ADDRESS
Rename the build symbol name for better clarity on what it represents. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
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;