0a52f53d8af687e6427fee59004d3 author Borislav Petkov 1244651394 +0200 committer Borislav Petkov 1246014400 +0200 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 $ÔÖy‘`x