Please see the attached patch.

-- 
Signed-off-by: Cristi Magherusan <[email protected]>
From 1f438ba55f315e050f42868ef41a2ec41671e9d5 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Cristi=20M=C4=83gheru=C8=99an?= <[email protected]>
Date: Thu, 27 Aug 2009 17:01:25 +0300
Subject: [PATCH] added support for AMD S1G1 socket in Kconfig

---
 src/cpu/amd/Kconfig                  |    2 +-
 src/cpu/amd/Makefile.inc             |    1 +
 src/cpu/amd/socket_S1G1/Kconfig      |   25 +++++++++++++++++++++++++
 src/cpu/amd/socket_S1G1/Makefile.inc |   14 ++++++++++++++
 4 files changed, 41 insertions(+), 1 deletions(-)
 create mode 100644 src/cpu/amd/socket_S1G1/Kconfig
 create mode 100644 src/cpu/amd/socket_S1G1/Makefile.inc

diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig
index f1f6f51..eaad9ed 100644
--- a/src/cpu/amd/Kconfig
+++ b/src/cpu/amd/Kconfig
@@ -5,6 +5,6 @@ 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_S1G1/Kconfig
+source src/cpu/amd/socket_S1G1/Kconfig
 
 source src/cpu/amd/model_fxx/Kconfig
diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc
index 18a52f4..9afb75f 100644
--- a/src/cpu/amd/Makefile.inc
+++ b/src/cpu/amd/Makefile.inc
@@ -1,3 +1,4 @@
 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_SOCKET_S1G1) += socket_S1G1
diff --git a/src/cpu/amd/socket_S1G1/Kconfig b/src/cpu/amd/socket_S1G1/Kconfig
new file mode 100644
index 0000000..905b407
--- /dev/null
+++ b/src/cpu/amd/socket_S1G1/Kconfig
@@ -0,0 +1,25 @@
+config CPU_AMD_SOCKET_S1G1
+        bool
+	default false
+
+config K8_REV_F_SUPPORT
+	int
+	default 1
+	depends on CPU_AMD_SOCKET_S1G1
+
+config CPU_SOCKET_TYPE
+	hex
+	default 0x12
+	depends on CPU_AMD_SOCKET_S1G1
+
+config K8_HT_FREQ_1G_SUPPORT
+	hex
+	default 1
+	depends on CPU_AMD_SOCKET_S1G1
+
+#DDR2 and REG, S1G1
+config DIMM_SUPPORT
+	hex
+	default 0x0204
+	depends on CPU_AMD_SOCKET_S1G1
+
diff --git a/src/cpu/amd/socket_S1G1/Makefile.inc b/src/cpu/amd/socket_S1G1/Makefile.inc
new file mode 100644
index 0000000..b938f30
--- /dev/null
+++ b/src/cpu/amd/socket_S1G1/Makefile.inc
@@ -0,0 +1,14 @@
+obj-y += socket_S1G1.o
+subdirs-y += ../model_fxx
+subdirs-y += ../dualcore
+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
+
-- 
1.6.0.4

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to