summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-02-14 03:40:35 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2015-02-16 09:11:32 +0100
commit2b1bcc12536364ad81e875150f9711dfe406897d (patch)
tree1696076934d2c385607c297f084b45693268d5aa /src/northbridge
parent3c206781f2671e727c59f2884301338c56990889 (diff)
northbridge/amd/amdfam10: Remove Kconfig memory controller options
All settable memory controller options are now controlled by NVRAM, making the Kconfig options irrelevant. Change-Id: I9b2c8798d830e5c41bb9a108514e60d784d2ebc5 Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/8452 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdfam10/Kconfig39
-rw-r--r--src/northbridge/amd/amdmct/wrappers/mcti_d.c4
2 files changed, 3 insertions, 40 deletions
diff --git a/src/northbridge/amd/amdfam10/Kconfig b/src/northbridge/amd/amdfam10/Kconfig
index 1c785904c6..ae16e04df9 100644
--- a/src/northbridge/amd/amdfam10/Kconfig
+++ b/src/northbridge/amd/amdfam10/Kconfig
@@ -1,6 +1,7 @@
##
## This file is part of the coreboot project.
##
+## Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
## Copyright (C) 2007-2009 coresystems GmbH
##
## This program is free software; you can redistribute it and/or modify
@@ -216,44 +217,6 @@ 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
- default 0x00
- help
- This option sets the background ECC memory scub rate
-
- Permissible values are:
-
- 0x00; Disabled
- 0x01; 40ns
- 0x02; 80ns
- 0x03; 160ns
- 0x04; 320ns
- 0x05; 640ns
- 0x06; 1.28us
- 0x07; 2.56us
- 0x08; 5.12us
- 0x09; 10.2us
- 0x0a; 20.5us
- 0x0b; 41us
- 0x0c; 81.9us
- 0x0d; 163.8us
- 0x0e; 327.7us
- 0x0f; 655.4us
- 0x10; 1.31ms
- 0x11; 2.62ms
- 0x12; 5.24ms
- 0x13; 10.49ms
- 0x14; 20.97sms
- 0x15; 42ms
- 0x16; 84ms
-
endmenu
endif # NORTHBRIDGE_AMD_AMDFAM10
diff --git a/src/northbridge/amd/amdmct/wrappers/mcti_d.c b/src/northbridge/amd/amdmct/wrappers/mcti_d.c
index 4b229bcb39..b2cfad6301 100644
--- a/src/northbridge/amd/amdmct/wrappers/mcti_d.c
+++ b/src/northbridge/amd/amdmct/wrappers/mcti_d.c
@@ -201,7 +201,7 @@ static u16 mctGet_NVbits(u8 index)
* 0: Disable
* 1: Enable
*/
- val = CONFIG_AMDMCT_ENABLE_ECC_REDIR;
+ val = 0;
if (get_option(&nvram, "ECC_redirection") == CB_SUCCESS)
val = !!nvram;
@@ -232,7 +232,7 @@ static u16 mctGet_NVbits(u8 index)
* 0x15: 42ms
* 0x16: 84ms
*/
- val = CONFIG_AMDMCT_BACKGROUND_SCRUB_RATE;
+ val = 0;
if ((get_option(&nvram, "ecc_scrub_rate") == CB_SUCCESS) && (nvram <= 0x16))
val = nvram;