Make is_boot_pin_asserted() always return false. No need to ever check the boot pin because the bootloader is to be triggered by other means.
This commit is contained in:
@@ -138,6 +138,7 @@ uint32_t get_uart_clock(uint32_t instance)
|
||||
|
||||
bool is_boot_pin_asserted(void)
|
||||
{
|
||||
return false;
|
||||
#ifdef BL_TARGET_FLASH
|
||||
// Initialize boot pin for GPIO
|
||||
BOOT_PIN_PORT->PCR[BOOT_PIN_NUMBER] |= PORT_PCR_MUX(BOOT_PIN_ALT_MODE);
|
||||
|
||||
Reference in New Issue
Block a user