drivers/flash: stm32h7: fix fault when cache disabled
Add a check to avoid invalidating the cache when the latter is disabled.
Indeed, doing so can lead to a bus fault.
Signed-off-by:
Thomas Altenbach <taltenbach@witekio.com>
Loading
Please sign in to comment