summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-10-09 12:32:52 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-10-09 12:32:52 +0000
commit91ff0df62777a9ec4a399ef899803c05e7caad60 (patch)
tree93bc6c2927195fe3e991172acb3c923d89ec6bec /src/cpu
parent748475b800c552236aff16c1beffd55b70791ae6 (diff)
downloadcoreboot-91ff0df62777a9ec4a399ef899803c05e7caad60.tar.xz
More Kconfig-supported boards, and also kconfig support
for amd/socket_AM2R2, amd/socket_939, drivers/ati/ragexl 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@4750 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/amd/Kconfig4
-rw-r--r--src/cpu/amd/Makefile.inc2
-rw-r--r--src/cpu/amd/socket_939/Kconfig9
-rw-r--r--src/cpu/amd/socket_939/Makefile.inc14
-rw-r--r--src/cpu/amd/socket_AM2r2/Kconfig18
-rw-r--r--src/cpu/amd/socket_AM2r2/Makefile.inc14
6 files changed, 59 insertions, 2 deletions
diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig
index 31f85a7b41..7285bb7e06 100644
--- a/src/cpu/amd/Kconfig
+++ b/src/cpu/amd/Kconfig
@@ -3,10 +3,10 @@ config K8_REV_F_SUPPORT
default n
source src/cpu/amd/socket_754/Kconfig
-#source src/cpu/amd/socket_939/Kconfig
+source src/cpu/amd/socket_939/Kconfig
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_AM2r2/Kconfig
source src/cpu/amd/socket_F/Kconfig
source src/cpu/amd/socket_F_1207/Kconfig
source src/cpu/amd/socket_S1G1/Kconfig
diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc
index fb710d734f..77285285fa 100644
--- a/src/cpu/amd/Makefile.inc
+++ b/src/cpu/amd/Makefile.inc
@@ -1,7 +1,9 @@
subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F
subdirs-$(CONFIG_CPU_AMD_SOCKET_754) += socket_754
+subdirs-$(CONFIG_CPU_AMD_SOCKET_939) += socket_939
subdirs-$(CONFIG_CPU_AMD_SOCKET_940) += socket_940
subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2
+subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2R2) += socket_AM2r2
subdirs-$(CONFIG_CPU_AMD_GX1) += model_gx1
subdirs-$(CONFIG_CPU_AMD_GX2) += model_gx2
subdirs-$(CONFIG_CPU_AMD_LX) += model_lx
diff --git a/src/cpu/amd/socket_939/Kconfig b/src/cpu/amd/socket_939/Kconfig
new file mode 100644
index 0000000000..40063659de
--- /dev/null
+++ b/src/cpu/amd/socket_939/Kconfig
@@ -0,0 +1,9 @@
+config CPU_AMD_SOCKET_939
+ bool
+ default n
+ select CPU_AMD_MODEL_FXX
+
+config CPU_SOCKET_TYPE
+ hex
+ default 0x0
+ depends on CPU_AMD_SOCKET_939
diff --git a/src/cpu/amd/socket_939/Makefile.inc b/src/cpu/amd/socket_939/Makefile.inc
new file mode 100644
index 0000000000..aeed905301
--- /dev/null
+++ b/src/cpu/amd/socket_939/Makefile.inc
@@ -0,0 +1,14 @@
+obj-y += socket_939.o
+subdirs-y += ../model_fxx
+subdirs-y += ../dualcore
+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/mtrr
+subdirs-y += ../../x86/pae
diff --git a/src/cpu/amd/socket_AM2r2/Kconfig b/src/cpu/amd/socket_AM2r2/Kconfig
new file mode 100644
index 0000000000..1008401a83
--- /dev/null
+++ b/src/cpu/amd/socket_AM2r2/Kconfig
@@ -0,0 +1,18 @@
+config CPU_AMD_SOCKET_AM2R2
+ bool
+ default n
+ select CPU_AMD_MODEL_10XXX
+ select HT3_SUPPORT
+ select CAR_FAM10
+
+config CPU_SOCKET_TYPE
+ hex
+ default 0x11
+ depends on CPU_AMD_SOCKET_AM2R2
+
+# DDR2 and REG
+config DIMM_SUPPORT
+ hex
+ default 0x0104
+ depends on CPU_AMD_SOCKET_AM2R2
+
diff --git a/src/cpu/amd/socket_AM2r2/Makefile.inc b/src/cpu/amd/socket_AM2r2/Makefile.inc
new file mode 100644
index 0000000000..5ff9c582d9
--- /dev/null
+++ b/src/cpu/amd/socket_AM2r2/Makefile.inc
@@ -0,0 +1,14 @@
+obj-y += socket_AM2r2.o
+subdirs-y += ../model_10xxx
+subdirs-y += ../quadcore
+subdirs-y += ../mtrr
+subdirs-y += ../microcode
+subdirs-y += ../../x86/tsc
+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
+subdirs-y += ../../x86/mtrr