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:
László Monda
2017-10-16 18:04:34 +02:00
parent b754ecbe68
commit ec456b9582

View File

@@ -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);