mcu/stm32f7: Remove inapplicable flash cache calls
__HAL_FLASH_INSTRUCTION_CACHE_ENABLE and __HAL_FLASH_DATA_CACHE_ENABLE
are not applicable for STM32F7 devices, those are for F2, F4, L4
@@ -258,17 +258,5 @@ SystemClock_Config(void)
#if PREFETCH_ENABLE
__HAL_FLASH_PREFETCH_BUFFER_ENABLE();
#endif
-
- /*
- * These are flash instruction and data caches, not the be confused with
- * MCU caches.
- */
-#if INSTRUCTION_CACHE_ENABLE
- __HAL_FLASH_INSTRUCTION_CACHE_ENABLE();
-#endif
-
-#if DATA_CACHE_ENABLE
- __HAL_FLASH_DATA_CACHE_ENABLE();
-#endif
}
#endif
