commit | 584fcff428bde3b9985ba21498764e9dba2fd3ce | [log] [tgz] |
---|---|---|
author | Borislav Petkov <borislav.petkov@amd.com> | Wed Jun 10 18:29:54 2009 +0200 |
committer | Borislav Petkov <borislav.petkov@amd.com> | Fri Jun 26 13:06:40 2009 +0200 |
tree | da1c6b2664b15071f06d121af0bf1157465533ac | |
parent | 28d0325ce6e0a52f53d8af687e6427fee59004d3 [diff] |
amd64_edac: check only ECC bit in amd64_determine_edac_cap Checking whether the machine is using ECC enabled DRAM is done through testing the DimmEccEn bit in the DRAM Cfg Low register (F2x[1,0]90). Do that instead of testing all bits from the DimmEccEn upwards. Also, remove mci->edac_cap assignment and use value returned from amd64_determine_edac_cap(). Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>