refactor(spi_flash): Remove spi_flash rom driver patch config option

This commit is contained in:
C.S.M
2025-10-22 10:37:19 +08:00
parent 23b76aaf92
commit c81cf3bdf6
37 changed files with 3 additions and 104 deletions
-8
View File
@@ -173,9 +173,6 @@ endif()
if(BOOTLOADER_BUILD)
if(target STREQUAL "esp32")
if(NOT CONFIG_SPI_FLASH_ROM_DRIVER_PATCH)
rom_linker_script("spiflash_legacy")
endif()
if(CONFIG_ESP32_REV_MIN_FULL GREATER_EQUAL 300)
rom_linker_script("eco3")
endif()
@@ -235,11 +232,6 @@ else() # Regular app build
endif()
endif()
if(NOT CONFIG_SPI_FLASH_ROM_DRIVER_PATCH)
# For ESP32, inclusion of ROM driver do not depend on CONFIG_SPI_FLASH_ROM_IMPL
rom_linker_script("spiflash_legacy")
endif()
if(CONFIG_ESP32_REV_MIN_FULL GREATER_EQUAL 300)
rom_linker_script("eco3")
endif()