northbridge/amd: Add Kconfig options for ECC redirection

Change-Id: I83e7605650b13e82a2e6c2822cbd237b4e473b5d
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/8271
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
Timothy Pearson 2015-01-24 14:13:30 -06:00 committed by Alexandru Gagniuc
parent 6f2caa0ffa
commit 5ec1153200
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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:
/*