diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-12-22 13:48:20 -0500 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-03-17 09:46:15 -0400 |
commit | c9f4f26eae096c39547139666e8af607c2447f94 (patch) | |
tree | 754fabb84aea79bac1d8a05e3017d4df52ac817b /drivers/edac/amd64_edac.h | |
parent | 78da121e1560805a0e6e11952de30b416accef62 (diff) |
amd64_edac: Cleanup NBCTL code
Remove family names from macro names, drop single bit defines and
comment their meaning instead.
No functional change.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r-- | drivers/edac/amd64_edac.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 0244c612b3f2..fc609d1164a8 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h | |||
@@ -244,13 +244,7 @@ | |||
244 | /* | 244 | /* |
245 | * Function 3 - Misc Control | 245 | * Function 3 - Misc Control |
246 | */ | 246 | */ |
247 | #define K8_NBCTL 0x40 | 247 | #define NBCTL 0x40 |
248 | |||
249 | /* Correctable ECC error reporting enable */ | ||
250 | #define K8_NBCTL_CECCEn BIT(0) | ||
251 | |||
252 | /* UnCorrectable ECC error reporting enable */ | ||
253 | #define K8_NBCTL_UECCEn BIT(1) | ||
254 | 248 | ||
255 | #define K8_NBCFG 0x44 | 249 | #define K8_NBCFG 0x44 |
256 | #define K8_NBCFG_CHIPKILL BIT(23) | 250 | #define K8_NBCFG_CHIPKILL BIT(23) |