bootloader: disable psram cache bug fix for bootloader

The psram cache bug fix was also being applied to the bootloader binary (for cmake),
which doesnt do any psram access.

Applying this fix would increase the binary size, as much as 300 bytes in worst case scenarios
release/v4.2
Marius Vikhammer 2021-04-22 15:33:53 +08:00
rodzic f370d5089f
commit 2f511cfaef
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
if(CONFIG_SPIRAM_CACHE_WORKAROUND) if(CONFIG_SPIRAM_CACHE_WORKAROUND AND NOT BOOTLOADER_BUILD)
# We do this here as well as in CMakeLists.txt, because targets that # We do this here as well as in CMakeLists.txt, because targets that
# are not part of the ESP-IDF build system (for cases where a generic # are not part of the ESP-IDF build system (for cases where a generic
# non-IDF CMakeLists.txt file is imported into a component) don't depend # non-IDF CMakeLists.txt file is imported into a component) don't depend