]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Add memory test feature for mpc85xx POST.
authorYork Sun <yorksun@freescale.com>
Tue, 28 Sep 2010 22:20:33 +0000 (15:20 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 20 Oct 2010 07:28:00 +0000 (02:28 -0500)
commitebbe11dd365b16573e25b1b361287f9539daa33c
tree17981124c3cbdb2ae4dd8b2ad3bd0288a31655bc
parentc02ce6e5a1bc65831c8f638268defa9c6ae70bf1
Add memory test feature for mpc85xx POST.

The memory test is performed after DDR initialization when U-boot stills runs
in flash and cache. On recent mpc85xx platforms, the total memory can be more
than 2GB. To cover whole memory, it needs be mapped 2GB at a time using a
sliding TLB window. After the testing, DDR is remapped with up to 2GB memory
from the lowest address as normal.

If memory test fails, DDR DIMM SPD and DDR controller registers are dumped for
further debugging.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu.c
doc/README.fsl-ddr