spi_flash: remove xmc hpm support, because there is some compatible issue with ROM,

Closes https://github.com/espressif/esp-idf/issues/8560
This commit is contained in:
Cao Sen Miao
2022-03-14 17:06:30 +08:00
parent 4074221540
commit b0ceb22bef
2 changed files with 5 additions and 6 deletions

View File

@@ -173,7 +173,7 @@ unsigned bootloader_read_status_8b_rdsr3(void)
return bootloader_execute_flash_command(CMD_RDSR3, 0, 0, 8);
}
static unsigned read_status_16b_rdsr_rdsr2(void)
unsigned bootloader_read_status_16b_rdsr_rdsr2(void)
{
return bootloader_execute_flash_command(CMD_RDSR, 0, 0, 8) | (bootloader_execute_flash_command(CMD_RDSR2, 0, 0, 8) << 8);
}