sb_edac: make memory type detection per memory controller
authorAristeu Rozanski <aris@redhat.com>
Mon, 2 Jun 2014 18:15:22 +0000 (15:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 26 Jun 2014 18:23:46 +0000 (15:23 -0300)
commit9e3754461507147ce5bffba5faaea7c182d64667
treed681cc004f0dba3bb105702f5693e202a7778582
parenta497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee
sb_edac: make memory type detection per memory controller

Haswell has different register, offset to determine memory type and supports
DDR4 in some models. This patch makes it easier to have a different method
depending on the memory controller type.

Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/edac/sb_edac.c