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>
This commit is contained in:
Kevin O'Connor
2022-12-14 18:44:07 -05:00
parent dc94a35752
commit 9b342c65c8
10 changed files with 45 additions and 31 deletions

View File

@@ -70,7 +70,7 @@ choice
config LPC_FLASH_START_0000
bool "No bootloader"
endchoice
config FLASH_START
config FLASH_APPLICATION_ADDRESS
hex
default 0x4000 if LPC_FLASH_START_4000
default 0x0000

View File

@@ -44,7 +44,7 @@ DECL_INIT(watchdog_init);
void
bootloader_request(void)
{
if (!CONFIG_FLASH_START)
if (!CONFIG_FLASH_APPLICATION_ADDRESS)
return;
try_request_canboot();
// Disable USB and pause for 5ms so host recognizes a disconnect