Skip to content
Commit 6b0a4cc2 authored by Jeppe Odgaard's avatar Jeppe Odgaard Committed by Carles Cufí
Browse files

drivers: flash: fix memcpy and invalidate dcache in hyperflash



Replace memcpy usage in write since it is not linked to non-external
flash which might cause read-while-write issues.
Move the function that invalidated the data cache inside the critical
section to avoid context switch before it is invalidated.

Signed-off-by: default avatarJeppe Odgaard <jeppe.odgaard@prevas.dk>
parent e58d0c3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment