amd64_edac: Improve DRAM address mapping
authorBorislav Petkov <borislav.petkov@amd.com>
Tue, 18 Jan 2011 18:16:08 +0000 (19:16 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 17 Mar 2011 13:46:24 +0000 (14:46 +0100)
commit41d8bfaba70311c2fa0666554ef160ea8ffc9daf
tree87b236d16240872304638ed0011bb2a9c244c0ee
parent5a5d237169152d4d7e4b6105eab15831829fb8e7
amd64_edac: Improve DRAM address mapping

Drop static tables which map the bits in F2x80 to a chip select size in
favor of functions doing the mapping with some bit fiddling. Also, add
F15 support.

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