mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(spi_flash): Remove spi_flash rom driver patch config option
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user