summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorWarren Turkal <wt@penguintechs.org>2010-09-30 03:35:00 +0000
committerWarren Turkal <wt@penguintechs.org>2010-09-30 03:35:00 +0000
commit98a8c0ca7fc5206a07d193c1bc2813b2beb86943 (patch)
treeaac21336c542302f542095277b32387b83a193e8 /src/cpu/amd
parent7a59a44e17fa728cddd33b08b78db365f743df44 (diff)
Move CAR settings to board config for socket 940 boards.
For the a number of the socket 940 based machines, I collapsed their CAR configurations into the socket config. However, I have kept a number of overrides in place for the following machines: * broadcom/blast * ibm/e32{5,6} * newisys/khepri * sunw/ultra40 * tyan/s488{0,2} These machines used different setting than the defaults for socket 940 systems. Signed-off-by: Warren Turkal <wt@penguintechs.org> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5883 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/model_fxx/Kconfig22
-rw-r--r--src/cpu/amd/socket_940/Kconfig26
2 files changed, 24 insertions, 24 deletions
diff --git a/src/cpu/amd/model_fxx/Kconfig b/src/cpu/amd/model_fxx/Kconfig
index 21fc1ab377..139b96ad25 100644
--- a/src/cpu/amd/model_fxx/Kconfig
+++ b/src/cpu/amd/model_fxx/Kconfig
@@ -1,31 +1,9 @@
config CPU_AMD_MODEL_FXX
bool
- select CACHE_AS_RAM
select MMX
select SSE
select SSE2
-config CPU_ADDR_BITS
- int
- default 40
- depends on CPU_AMD_MODEL_FXX
-
-config DCACHE_RAM_BASE
- hex
- default 0xc8000
- depends on CPU_AMD_MODEL_FXX
-
-config DCACHE_RAM_SIZE
- hex
- default 0x08000
- depends on CPU_AMD_MODEL_FXX
-
-config DCACHE_RAM_GLOBAL_VAR_SIZE
- hex
- default 0x01000
- depends on CPU_AMD_MODEL_FXX
-
-
config UDELAY_IO
bool
default n
diff --git a/src/cpu/amd/socket_940/Kconfig b/src/cpu/amd/socket_940/Kconfig
index c17a85ffcf..6c3a929f14 100644
--- a/src/cpu/amd/socket_940/Kconfig
+++ b/src/cpu/amd/socket_940/Kconfig
@@ -1,14 +1,36 @@
config CPU_AMD_SOCKET_940
bool
+
+if CPU_AMD_SOCKET_940
+
+config SOCKET_SPECIFIC_OPTIONS
+ def_bool y
select K8_HT_FREQ_1G_SUPPORT
select CPU_AMD_MODEL_FXX
+ select CACHE_AS_RAM
config CPU_SOCKET_TYPE
hex
default 0x0
- depends on CPU_AMD_SOCKET_940
config DIMM_SUPPORT
hex
default 0x108
- depends on CPU_AMD_SOCKET_940
+
+config CPU_ADDR_BITS
+ int
+ default 40
+
+config DCACHE_RAM_BASE
+ hex
+ default 0xc8000
+
+config DCACHE_RAM_SIZE
+ hex
+ default 0x08000
+
+config DCACHE_RAM_GLOBAL_VAR_SIZE
+ hex
+ default 0x01000
+
+endif # CPU_AMD_SOCKET_940