amd64_edac: Cleanup Dram Configuration registers handling
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 22 Dec 2010 13:28:24 +0000 (14:28 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 17 Mar 2011 13:46:14 +0000 (14:46 +0100)
commitcb32850744b8b574966637ae98d55692717eced4
tree3052886f38108f72a5d6c60be43af68198ef2ac5
parent525a1b20a6830317db17b62df322b45d92ecd550
amd64_edac: Cleanup Dram Configuration registers handling

* Restrict DCT ganged mode check since only Fam10h supports it
* Adjust DRAM type detection for BD since it only supports DDR3
* Remove second and thus unneeded DCLR read in k8_early_channel_count() - we do
  that in read_mc_regs()
* Cleanup comments and remove family names from register macros
* Remove unused defines

There should be no functional change resulting from this patch.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h