[coreboot-gerrit] Patch set updated for coreboot: c5a9b51 northbridge/amd: Add Kconfig options for ECC redirection

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Sat Jan 24 23:31:36 CET 2015


Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8271

-gerrit

commit c5a9b51d7f52eb1c13a0f98f9df8fa6240b655c2
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Sat Jan 24 14:13:30 2015 -0600

    northbridge/amd: Add Kconfig options for ECC redirection
    
    Change-Id: I83e7605650b13e82a2e6c2822cbd237b4e473b5d
    Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
 src/northbridge/amd/Kconfig                  | 5 +++++
 src/northbridge/amd/amdmct/wrappers/mcti_d.c | 7 +++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/northbridge/amd/Kconfig b/src/northbridge/amd/Kconfig
index ef8a16a..17f15c3 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 96cef4e..3615676 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:
 		/*



More information about the coreboot-gerrit mailing list