summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2019-03-22 01:24:05 +0800
committerMarek Vasut <marex@denx.de>2019-04-17 22:20:17 +0200
commit456d45261bc6abee1ffedd0f9cbd35aada5c0ff3 (patch)
tree6eddb5f9e9e4108c13fea3685be662e2081e130f /examples
parent8ab9daabe5e88a401c891d02d4a765de2c6abaa2 (diff)
downloadu-boot-456d45261bc6abee1ffedd0f9cbd35aada5c0ff3.tar.gz
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>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions