Skip to content
Commit 456d4526 authored by Ley Foon Tan's avatar Ley Foon Tan Committed by Marek Vasut
Browse files

ddr: altera: Stratix10: Add ECC memory scrubbing



Scrub memory content if ECC is enabled and it is not
from warm reset boot.

Enable icache and dcache before scrub memory
and use "DC ZVA" instruction to clear memory
to zeros. This instruction writes a cache line
at a time and it can prevent false ECC error
trigger if write cache line partially.

Signed-off-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
parent 8ab9daab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment