]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: mvebu: Add complete SDRAM ECC scrubbing
authorStefan Roese <sr@denx.de>
Thu, 6 Aug 2015 12:43:13 +0000 (14:43 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:24:14 +0000 (10:24 +0200)
commit167ba068baafddb4f70e5e2df47ea9ff407d3af8
tree21e55f13fb2707786476e645a89878bf9e5e8d65
parent43eb62ef2ac598bf6a3f6b6584711c5a05c0329a
arm: mvebu: Add complete SDRAM ECC scrubbing

This patch introduces the SDRAM scrubbing for ECC enabled board
to fill/initialize the ECC bytes. This is done via the XOR engine
to speed up the process. The scrubbing is a 2-stage process:

1) SPL scrubs the area 0 - 0x100.0000 (16MiB) for the main U-Boot
2) U-Boot scrubs the remaining SDRAM area(s)

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
arch/arm/mach-mvebu/Makefile
arch/arm/mach-mvebu/dram.c
drivers/ddr/marvell/axp/xor.c
drivers/ddr/marvell/axp/xor.h