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>
This commit is contained in:
Timothy Pearson 2015-02-14 03:40:35 -06:00 committed by Alexandru Gagniuc
parent 3c206781f2
commit 2b1bcc1253
2 changed files with 3 additions and 40 deletions

View File

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

View File

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