commit | 456d45261bc6abee1ffedd0f9cbd35aada5c0ff3 | [log] [tgz] |
---|---|---|
author | Ley Foon Tan <ley.foon.tan@intel.com> | Fri Mar 22 01:24:05 2019 +0800 |
committer | Marek Vasut <marex@denx.de> | Wed Apr 17 22:20:17 2019 +0200 |
tree | 6eddb5f9e9e4108c13fea3685be662e2081e130f | |
parent | 8ab9daabe5e88a401c891d02d4a765de2c6abaa2 [diff] |
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: Ley Foon Tan <ley.foon.tan@intel.com>