]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite68f12bcf12096dcbb3e63a1f179ac3ae4f5ea6f
treef55042eb1fbd039e7ab7323d00f23822414edac7
parent8fafed947e3fa185e2fee427aeec642362177d8a
amd64_edac: Cleanup chipselect handling

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