summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-10-08 07:43:09 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-10-08 07:43:09 +0000
commit5726f92027c4299a7cad46c9153dbe55543efb5e (patch)
tree3b48da7bf4d3c522769628e36e0b5df329188164 /src/cpu/amd
parentb97ee05dc72c52fbb694326863b4977736d0f225 (diff)
downloadcoreboot-5726f92027c4299a7cad46c9153dbe55543efb5e.tar.xz
Kconfig: AMD Fam10, all Tyan boards.
Fam10 doesn't build due to size constraints at this time. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4741 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/Kconfig3
-rw-r--r--src/cpu/amd/model_10xxx/Kconfig44
-rw-r--r--src/cpu/amd/model_10xxx/Makefile.inc5
-rw-r--r--src/cpu/amd/socket_F_1207/Kconfig45
-rw-r--r--src/cpu/amd/socket_F_1207/Makefile.inc14
5 files changed, 110 insertions, 1 deletions
diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig
index 16e99e8f8f..947c0737dc 100644
--- a/src/cpu/amd/Kconfig
+++ b/src/cpu/amd/Kconfig
@@ -8,9 +8,10 @@ source src/cpu/amd/socket_940/Kconfig
source src/cpu/amd/socket_AM2/Kconfig
#source src/cpu/amd/socket_AM2r2/Kconfig
source src/cpu/amd/socket_F/Kconfig
-#source src/cpu/amd/socket_F_1207/Kconfig
+source src/cpu/amd/socket_F_1207/Kconfig
source src/cpu/amd/socket_S1G1/Kconfig
source src/cpu/amd/model_fxx/Kconfig
+source src/cpu/amd/model_10xxx/Kconfig
source src/cpu/amd/model_gx1/Kconfig
source src/cpu/amd/model_gx2/Kconfig
diff --git a/src/cpu/amd/model_10xxx/Kconfig b/src/cpu/amd/model_10xxx/Kconfig
new file mode 100644
index 0000000000..0e308a27a1
--- /dev/null
+++ b/src/cpu/amd/model_10xxx/Kconfig
@@ -0,0 +1,44 @@
+config CPU_AMD_MODEL_10XXX
+ bool
+ default n
+
+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
+
+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 0xc8000
+ depends on CPU_AMD_MODEL_10XXX
+
+config DCACHE_RAM_SIZE
+ hex
+ default 0x08000
+ depends on CPU_AMD_MODEL_10XXX
+
+config DCACHE_RAM_GLOBAL_VAR_SIZE
+ hex
+ default 0x01000
+ depends on CPU_AMD_MODEL_10XXX
+
diff --git a/src/cpu/amd/model_10xxx/Makefile.inc b/src/cpu/amd/model_10xxx/Makefile.inc
new file mode 100644
index 0000000000..d0beb04c98
--- /dev/null
+++ b/src/cpu/amd/model_10xxx/Makefile.inc
@@ -0,0 +1,5 @@
+# no conditionals here. If you include this file from a socket, then you get all the binaries.
+driver-y += model_10xxx_init.o
+obj-y += update_microcode.o
+obj-y += apic_timer.o
+obj-y += processor_name.o
diff --git a/src/cpu/amd/socket_F_1207/Kconfig b/src/cpu/amd/socket_F_1207/Kconfig
new file mode 100644
index 0000000000..3e94b36c6e
--- /dev/null
+++ b/src/cpu/amd/socket_F_1207/Kconfig
@@ -0,0 +1,45 @@
+config CPU_AMD_SOCKET_F_1207
+ bool
+ default n
+ select CPU_AMD_MODEL_10XXX
+
+config CPU_SOCKET_TYPE
+ hex
+ default 0x10
+ depends on CPU_AMD_SOCKET_F_1207
+
+# DDR2 and REG
+config DIMM_SUPPORT
+ hex
+ default 0x0104
+ depends on CPU_AMD_SOCKET_F_1207
+
+config PCI_IO_CFG_EXT
+ int
+ default 1
+ depends on CPU_AMD_SOCKET_F_1207
+
+config EXT_RT_TBL_SUPPORT
+ bool
+ default n
+ depends on CPU_AMD_SOCKET_F_1207
+
+config EXT_CONF_SUPPORT
+ bool
+ 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 0xff
+ depends on CPU_AMD_SOCKET_F_1207
+
+config CDB
+ hex
+ default 0
+ depends on CPU_AMD_SOCKET_F_1207
diff --git a/src/cpu/amd/socket_F_1207/Makefile.inc b/src/cpu/amd/socket_F_1207/Makefile.inc
new file mode 100644
index 0000000000..f7e13e0328
--- /dev/null
+++ b/src/cpu/amd/socket_F_1207/Makefile.inc
@@ -0,0 +1,14 @@
+obj-y += socket_F_1207.o
+subdirs-y += ../model_10xxx
+subdirs-y += ../quadcore
+subdirs-y += ../mtrr
+subdirs-y += ../microcode
+subdirs-y += ../../x86/tsc
+subdirs-y += ../../x86/mtrr
+subdirs-y += ../../x86/fpu
+subdirs-y += ../../x86/mmx
+subdirs-y += ../../x86/sse
+subdirs-y += ../../x86/lapic
+subdirs-y += ../../x86/cache
+subdirs-y += ../../x86/pae
+subdirs-y += ../../x86/smm