the following patch was just integrated into master: commit 7fd3ef57cba80f8ef2e9ecc500124e1e56d05325 Author: Timothy Pearson tpearson@raptorengineeringinc.com Date: Sat Jun 20 20:02:49 2015 -0500
northbridge/amd/amdmct: Clear memory before enabling ECC
The existing code enabled ECC before clearing memory. As the AMD CPUs will generate MCEs on any invalid check bits, this resulted in random lockups during memory training due to the uniniailized check bits.
Initialize ECC check bits before enabling ECC hardware.
Change-Id: I992e7040520570893ba6a213138dd57bfa14733b Signed-off-by: Timothy Pearson tpearson@raptorengineeringinc.com Reviewed-on: http://review.coreboot.org/11996 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth martinroth@google.com
See http://review.coreboot.org/11996 for details.
-gerrit