Fix Added options for I-Cache & D-Cache broken on c101076704

The Kconfig names were not updated to reflect FLASH. This
   killed performance on F4 and F2.
This commit is contained in:
David Sidrane
2020-08-17 23:32:07 +01:00
committed by Abdelatif Guettouche
parent d43bf7717e
commit 07ce0deda0
+2 -2
View File
@@ -3359,14 +3359,14 @@ endmenu
config STM32_FLASH_ICACHE
bool "Enable FLASH Instruction Cache"
default y
depends on STM32_HAVE_ICACHE
depends on STM32_HAVE_FLASH_ICACHE
---help---
Enable the FLASH instruction cache.
config STM32_FLASH_DCACHE
bool "Enable FLASH Data Cache"
default y
depends on STM32_HAVE_DCACHE
depends on STM32_HAVE_FLASH_DCACHE
---help---
Enable the FLASH data cache.