summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/northbridge/amd/Kconfig5
-rw-r--r--src/northbridge/amd/amdmct/wrappers/mcti_d.c7
2 files changed, 10 insertions, 2 deletions
diff --git a/src/northbridge/amd/Kconfig b/src/northbridge/amd/Kconfig
index ef8a16a73c..17f15c3b47 100644
--- a/src/northbridge/amd/Kconfig
+++ b/src/northbridge/amd/Kconfig
@@ -98,6 +98,11 @@ config LIMIT_HT_UP_WIDTH_16
bool "16 bits"
endchoice
+config AMDMCT_ENABLE_ECC_REDIR
+ bool
+ depends on CPU_AMD_MODEL_10XXX
+ default n
+
config AMDMCT_BACKGROUND_SCRUB_RATE
hex
depends on CPU_AMD_MODEL_10XXX
diff --git a/src/northbridge/amd/amdmct/wrappers/mcti_d.c b/src/northbridge/amd/amdmct/wrappers/mcti_d.c
index 96cef4e206..3615676d1b 100644
--- a/src/northbridge/amd/amdmct/wrappers/mcti_d.c
+++ b/src/northbridge/amd/amdmct/wrappers/mcti_d.c
@@ -167,8 +167,11 @@ static u16 mctGet_NVbits(u8 index)
#endif
break;
case NV_ECCRedir:
- val = 0; /* Disable */
- //val = 1; /* Enable */
+ /*
+ * 0: Disable
+ * 1: Enable
+ */
+ val = CONFIG_AMDMCT_ENABLE_ECC_REDIR;
break;
case NV_DramBKScrub:
/*