Searched refs:new_status_sr2 (Results 1 – 2 of 2) sorted by relevance
473 uint8_t new_status_sr2 = 0; in bootloader_flash_unlock() local497 new_status_sr2 = status_sr2 & ESP_BOOTLOADER_SPIFLASH_QE_GD_SR2; in bootloader_flash_unlock()519 if (status_sr2 != new_status_sr2) { in bootloader_flash_unlock()522 bootloader_execute_flash_command(CMD_WRSR2, new_status_sr2, 8, 0); in bootloader_flash_unlock()
465 uint8_t new_status_sr2 = 0; in bootloader_flash_unlock() local489 new_status_sr2 = status_sr2 & ESP_BOOTLOADER_SPIFLASH_QE_GD_SR2; in bootloader_flash_unlock()511 if (status_sr2 != new_status_sr2) { in bootloader_flash_unlock()514 bootloader_execute_flash_command(CMD_WRSR2, new_status_sr2, 8, 0); in bootloader_flash_unlock()