See esp_spi_flash.c for implementation notes.
This will require a matching change in all projects using ESP-IDF.