]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc04cc5bae0197ddc1de0790a92ad7b8a8fe086da
tree3052886f38108f72a5d6c60be43af68198ef2ac5
parent463dd56e62c17a155dcebe3f3f0bfa3ad47d7eb4
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