amd64_edac: Cleanup chipselect handling
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 29 Nov 2010 18:49:02 +0000 (19:49 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 17 Mar 2011 13:46:12 +0000 (14:46 +0100)
Add a struct representing the DRAM chip select base/limit register
pairs. Concentrate all CS handling in a single function. Also, add CS
looping macros for cleaner, more readable code. While at it, adjust code
to F15h. Finally, do smaller macro names cleanups (remove family names
from register macros) and debug messages clarification.

No functional change.

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

Simple merge
Simple merge