armcm_reset: Rename CONFIG_BOOTLOADER_START to CONFIG_FLASH_BOOT_ADDRESS

Rename the symbol for better consistency with the upstream Klipper
code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-12-14 21:02:33 -05:00 committed by Eric Callahan
parent 7db10a048f
commit 41067c6a74
4 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
//
// This file may be distributed under the terms of the GNU GPLv3 license.
#include "autoconf.h" // CONFIG_FLASH_START
#include "autoconf.h" // CONFIG_FLASH_BOOT_ADDRESS
#include "board/internal.h" // NVIC_SystemReset
#include "board/irq.h" // irq_disable
#include "board/misc.h" // try_request_canboot
@ -12,7 +12,7 @@
void
try_request_canboot(void)
{
uint32_t *bl_vectors = (uint32_t *)(CONFIG_BOOTLOADER_START);
uint32_t *bl_vectors = (uint32_t *)(CONFIG_FLASH_BOOT_ADDRESS);
uint64_t *req_sig = (uint64_t *)bl_vectors[0];
irq_disable();
*req_sig = REQUEST_CANBOOT;

View File

@ -57,7 +57,7 @@ config FLASH_START
hex
default 0x0000
config BOOTLOADER_START
config FLASH_BOOT_ADDRESS
hex
default 0x0000

View File

@ -44,7 +44,7 @@ config LAUNCH_APP_ADDRESS
default 0x10004000
hex
config BOOTLOADER_START
config FLASH_BOOT_ADDRESS
hex
default 0x10000100

View File

@ -142,7 +142,7 @@ config FLASH_START
hex
default 0x8000000
config BOOTLOADER_START
config FLASH_BOOT_ADDRESS
hex
default 0x8000000