summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-10-18 13:47:30 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-10-18 13:47:30 +0000
commite405327b46523ea93f84d29798b394c43a0f0f52 (patch)
treed7e0399c5b975e0544d10d784b10e4411995796c /src/cpu/amd
parent5c57df6c1a672218254c2625dd2bc949dacf469f (diff)
Simplify Kconfig files by using "select" where possible (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4806 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/model_10xxx/Kconfig24
-rw-r--r--src/cpu/amd/model_fxx/Kconfig24
-rw-r--r--src/cpu/amd/socket_F_1207/Kconfig12
3 files changed, 10 insertions, 50 deletions
diff --git a/src/cpu/amd/model_10xxx/Kconfig b/src/cpu/amd/model_10xxx/Kconfig
index a13a86f32a..3f80baf9e6 100644
--- a/src/cpu/amd/model_10xxx/Kconfig
+++ b/src/cpu/amd/model_10xxx/Kconfig
@@ -1,31 +1,15 @@
config CPU_AMD_MODEL_10XXX
bool
-
-config HAVE_INIT_TIMER
- bool
- default y
- depends on CPU_AMD_MODEL_10XXX
-
-config HAVE_MOVNTI
- bool
- default y
- depends on CPU_AMD_MODEL_10XXX
+ select HAVE_INIT_TIMER
+ select HAVE_MOVNTI
+ select USE_PRINTK_IN_CAR
+ select USE_DCACHE_RAM
config CPU_ADDR_BITS
int
default 48
depends on CPU_AMD_MODEL_10XXX
-config USE_PRINTK_IN_CAR
- bool
- default y
- depends on CPU_AMD_MODEL_10XXX
-
-config USE_DCACHE_RAM
- bool
- default y
- depends on CPU_AMD_MODEL_10XXX
-
config DCACHE_RAM_BASE
hex
default 0xc4000
diff --git a/src/cpu/amd/model_fxx/Kconfig b/src/cpu/amd/model_fxx/Kconfig
index e103377fd1..b291b646e5 100644
--- a/src/cpu/amd/model_fxx/Kconfig
+++ b/src/cpu/amd/model_fxx/Kconfig
@@ -1,31 +1,15 @@
config CPU_AMD_MODEL_FXX
bool
-
-config HAVE_INIT_TIMER
- bool
- default y
- depends on CPU_AMD_MODEL_FXX
-
-config HAVE_MOVNTI
- bool
- default y
- depends on CPU_AMD_MODEL_FXX
+ select HAVE_INIT_TIMER
+ select HAVE_MOVNTI
+ select USE_PRINTK_IN_CAR
+ select USE_DCACHE_RAM
config CPU_ADDR_BITS
int
default 40
depends on CPU_AMD_MODEL_FXX
-config USE_PRINTK_IN_CAR
- bool
- default y
- depends on CPU_AMD_MODEL_FXX
-
-config USE_DCACHE_RAM
- bool
- default y
- depends on CPU_AMD_MODEL_FXX
-
config DCACHE_RAM_BASE
hex
default 0xc8000
diff --git a/src/cpu/amd/socket_F_1207/Kconfig b/src/cpu/amd/socket_F_1207/Kconfig
index 19b5b20ceb..ae7d87a210 100644
--- a/src/cpu/amd/socket_F_1207/Kconfig
+++ b/src/cpu/amd/socket_F_1207/Kconfig
@@ -1,6 +1,8 @@
config CPU_AMD_SOCKET_F_1207
bool
select CPU_AMD_MODEL_10XXX
+ select PCI_IO_CFG_EXT
+ select CAR_FAM10
config CPU_SOCKET_TYPE
hex
@@ -13,11 +15,6 @@ config DIMM_SUPPORT
default 0x0104
depends on CPU_AMD_SOCKET_F_1207
-config PCI_IO_CFG_EXT
- bool
- default y
- depends on CPU_AMD_SOCKET_F_1207
-
config EXT_RT_TBL_SUPPORT
bool
default n
@@ -28,11 +25,6 @@ config EXT_CONF_SUPPORT
default n
depends on CPU_AMD_SOCKET_F_1207
-config CAR_FAM10
- bool
- default y
- depends on CPU_AMD_SOCKET_F_1207
-
config CBB
hex
default 0x0