[coreboot] [PATCH] Move CAR config from mainboard to CPU config for AMD GX2 boards.
Warren Turkal
wt at penguintechs.org
Mon Sep 27 13:12:34 CEST 2010
Signed-off-by: Warren Turkal <wt at penguintechs.org>
---
src/cpu/amd/model_gx2/Kconfig | 13 ++++++++-----
src/mainboard/wyse/s50/Kconfig | 1 -
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/cpu/amd/model_gx2/Kconfig b/src/cpu/amd/model_gx2/Kconfig
index 23c0ac7..4515a71 100644
--- a/src/cpu/amd/model_gx2/Kconfig
+++ b/src/cpu/amd/model_gx2/Kconfig
@@ -20,25 +20,27 @@
config CPU_AMD_GX2
bool
+if CPU_AMD_GX2
+
+config CPU_SPECIFIC_OPTIONS
+ def_bool y
+ select CACHE_AS_RAM
+
config DCACHE_RAM_BASE
hex
default 0xc8000
- depends on CPU_AMD_GX2
config DCACHE_RAM_SIZE
hex
default 0x04000
- depends on CPU_AMD_GX2
config GEODE_VSA
bool
default y
- depends on CPU_AMD_GX2
select PCI_OPTION_ROM_RUN_REALMODE
config GEODE_VSA_FILE
bool "Add a VSA image"
- depends on CPU_AMD_GX2
help
Select this option if you have an AMD Geode GX2 vsa that you would
like to add to your ROM.
@@ -48,9 +50,10 @@ config GEODE_VSA_FILE
config VSA_FILENAME
string "AMD Geode GX2 VSA path and filename"
- depends on GEODE_VSA_FILE && CPU_AMD_GX2
+ depends on GEODE_VSA_FILE
default "gpl_vsa_gx_102.bin"
help
The path and filename of the file to use as VSA.
+endif # CPU_AMD_GX2
diff --git a/src/mainboard/wyse/s50/Kconfig b/src/mainboard/wyse/s50/Kconfig
index 805748a..9c7e12c 100644
--- a/src/mainboard/wyse/s50/Kconfig
+++ b/src/mainboard/wyse/s50/Kconfig
@@ -25,7 +25,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select NORTHBRIDGE_AMD_GX2
select SOUTHBRIDGE_AMD_CS5536
select UDELAY_TSC
- select CACHE_AS_RAM
select HAVE_PIRQ_TABLE
select PIRQ_ROUTE
select BOARD_ROMSIZE_KB_256
--
1.7.1
More information about the coreboot
mailing list