summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2009-08-29 02:59:35 +0000
committerRonald G. Minnich <rminnich@gmail.com>2009-08-29 02:59:35 +0000
commit6ed39d9786508b273ede0fedc2a0078213418f6d (patch)
tree42dd5c85b69b88340bb1034a93160cdcc3e78301
parente7f5709e148c165b38cc832b71e13804c03a90bc (diff)
downloadcoreboot-6ed39d9786508b273ede0fedc2a0078213418f6d.tar.xz
This is the final set of changes to allow rumba to build. Rumba is not
tested. I also addressed questions raised by Uwe: TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 UDELAY_TSC Are now defined as booleans in src/cpu/x86/Kconfig and can be selected in the mainboard Kconfig. The remaining question of Uwe's is a deeper problem: --- We'll have to check if this works. From a quick glance the Rumba does not have the mmx related lines (which _are_ in Makefile.romccboard.inc, though): crt0-y += ../../../../src/cpu/x86/fpu/enable_fpu.inc crt0-y += ../../../../src/cpu/x86/mmx/enable_mmx.inc crt0-y += auto.inc crt0-y += ../../../../src/cpu/x86/mmx/disable_mmx.inc --- We're going to need a whole variant of this standard mainboard OR we're going to have to make (some) of the unconditional includes above conditional. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4618 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/arch/i386/Kconfig8
-rw-r--r--src/cpu/amd/Kconfig1
-rw-r--r--src/cpu/amd/Makefile.inc1
-rw-r--r--src/cpu/x86/tsc/Makefile.inc5
-rw-r--r--src/mainboard/amd/rumba/Kconfig7
-rw-r--r--src/northbridge/amd/Kconfig5
-rw-r--r--src/southbridge/amd/Kconfig2
7 files changed, 15 insertions, 14 deletions
diff --git a/src/arch/i386/Kconfig b/src/arch/i386/Kconfig
index 4dc032110c..2e2f650f06 100644
--- a/src/arch/i386/Kconfig
+++ b/src/arch/i386/Kconfig
@@ -4,6 +4,14 @@ config ARCH_X86
This option is used to set the architecture of a mainboard.
It is usually set in mainboard/*/Kconfig.
+config AP_IN_SIPI_WAIT
+ bool
+ default n
+ depends on ARCH_X86
+ help
+ This is an SMP option. It relates to starting up APs.
+ It is usually set in mainboard/*/Kconfig.
+
config ARCH
string
default i386
diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig
index eaad9ed94e..18ed8062c5 100644
--- a/src/cpu/amd/Kconfig
+++ b/src/cpu/amd/Kconfig
@@ -8,3 +8,4 @@ source src/cpu/amd/socket_F/Kconfig
source src/cpu/amd/socket_S1G1/Kconfig
source src/cpu/amd/model_fxx/Kconfig
+source src/cpu/amd/model_gx2/Kconfig
diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc
index 9afb75f7a2..d484f10e98 100644
--- a/src/cpu/amd/Makefile.inc
+++ b/src/cpu/amd/Makefile.inc
@@ -1,4 +1,5 @@
subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F
subdirs-$(CONFIG_CPU_AMD_SOCKET_940) += socket_940
subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2
+subdirs-$(CONFIG_CPU_AMD_GX2) += model_gx2
subdirs-$(CONFIG_CPU_AMD_SOCKET_S1G1) += socket_S1G1
diff --git a/src/cpu/x86/tsc/Makefile.inc b/src/cpu/x86/tsc/Makefile.inc
index 408105ef96..ba2732c795 100644
--- a/src/cpu/x86/tsc/Makefile.inc
+++ b/src/cpu/x86/tsc/Makefile.inc
@@ -1,7 +1,2 @@
obj-y += delay_tsc.o
-# default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=0
-# if CONFIG_UDELAY_TSC
-# default CONFIG_HAVE_INIT_TIMER=1
-# object delay_tsc.o
-# end
diff --git a/src/mainboard/amd/rumba/Kconfig b/src/mainboard/amd/rumba/Kconfig
index 82d466746b..220d067b63 100644
--- a/src/mainboard/amd/rumba/Kconfig
+++ b/src/mainboard/amd/rumba/Kconfig
@@ -26,6 +26,7 @@ config BOARD_AMD_RUMBA
select NORTHBRIDGE_AMD_GX2
select SOUTHBRIDGE_AMD_CS5536
select UDELAY_TSC
+ select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select HAVE_PIRQ_TABLE
help
AMD Rumba mainboard.
@@ -54,9 +55,3 @@ config USE_INIT
int
default 0
depends on BOARD_AMD_RUMBA
-
-
-config TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
- int
- default 0
- depends on BOARD_AMD_RUMBA
diff --git a/src/northbridge/amd/Kconfig b/src/northbridge/amd/Kconfig
index 30c9070c8c..b86d240a0b 100644
--- a/src/northbridge/amd/Kconfig
+++ b/src/northbridge/amd/Kconfig
@@ -1,7 +1,8 @@
+source src/northbridge/amd/amdk8/Kconfig
+source src/northbridge/amd/gx2/Kconfig
+
#source src/northbridge/amd/amdfam10/Kconfig
#source src/northbridge/amd/amdht/Kconfig
-source src/northbridge/amd/amdk8/Kconfig
#source src/northbridge/amd/amdmct/Kconfig
#source src/northbridge/amd/gx1/Kconfig
-#source src/northbridge/amd/gx2/Kconfig
#source src/northbridge/amd/lx/Kconfig
diff --git a/src/southbridge/amd/Kconfig b/src/southbridge/amd/Kconfig
index 9ed63fe123..dc32d217f8 100644
--- a/src/southbridge/amd/Kconfig
+++ b/src/southbridge/amd/Kconfig
@@ -1,10 +1,10 @@
source src/southbridge/amd/amd8111/Kconfig
source src/southbridge/amd/amd8131/Kconfig
+source src/southbridge/amd/cs5536/Kconfig
#source src/southbridge/amd/amd8131-disable/Kconfig
#source src/southbridge/amd/amd8132/Kconfig
#source src/southbridge/amd/amd8151/Kconfig
#source src/southbridge/amd/cs5530/Kconfig
#source src/southbridge/amd/cs5535/Kconfig
-#source src/southbridge/amd/cs5536/Kconfig
source src/southbridge/amd/rs690/Kconfig
source src/southbridge/amd/sb600/Kconfig