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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user