mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
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:
parent
7db10a048f
commit
41067c6a74
@ -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;
|
||||
|
@ -57,7 +57,7 @@ config FLASH_START
|
||||
hex
|
||||
default 0x0000
|
||||
|
||||
config BOOTLOADER_START
|
||||
config FLASH_BOOT_ADDRESS
|
||||
hex
|
||||
default 0x0000
|
||||
|
||||
|
@ -44,7 +44,7 @@ config LAUNCH_APP_ADDRESS
|
||||
default 0x10004000
|
||||
hex
|
||||
|
||||
config BOOTLOADER_START
|
||||
config FLASH_BOOT_ADDRESS
|
||||
hex
|
||||
default 0x10000100
|
||||
|
||||
|
@ -142,7 +142,7 @@ config FLASH_START
|
||||
hex
|
||||
default 0x8000000
|
||||
|
||||
config BOOTLOADER_START
|
||||
config FLASH_BOOT_ADDRESS
|
||||
hex
|
||||
default 0x8000000
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user