summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-09-23 17:59:56 +0000
committerMyles Watson <mylesgw@gmail.com>2009-09-23 17:59:56 +0000
commita946214ea09d4ca89a575525d0ae0469526e7dcc (patch)
tree06731b91fbd9edbc5062219ddb97a205d6606aef
parent422d0cb71262d27f0eff33ab324703b4a94374e5 (diff)
downloadcoreboot-a946214ea09d4ca89a575525d0ae0469526e7dcc.tar.xz
Add Kconfig support for Tyan s2881.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4660 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/mainboard/tyan/Kconfig1
-rw-r--r--src/mainboard/tyan/s2881/Kconfig142
-rw-r--r--src/mainboard/tyan/s2881/Makefile.inc2
3 files changed, 145 insertions, 0 deletions
diff --git a/src/mainboard/tyan/Kconfig b/src/mainboard/tyan/Kconfig
index 5586d986a5..be6ebd44e3 100644
--- a/src/mainboard/tyan/Kconfig
+++ b/src/mainboard/tyan/Kconfig
@@ -23,6 +23,7 @@ choice
depends on VENDOR_TYAN
source "src/mainboard/tyan/s1846/Kconfig"
+source "src/mainboard/tyan/s2881/Kconfig"
source "src/mainboard/tyan/s2891/Kconfig"
source "src/mainboard/tyan/s2892/Kconfig"
source "src/mainboard/tyan/s2895/Kconfig"
diff --git a/src/mainboard/tyan/s2881/Kconfig b/src/mainboard/tyan/s2881/Kconfig
new file mode 100644
index 0000000000..32eb1fe308
--- /dev/null
+++ b/src/mainboard/tyan/s2881/Kconfig
@@ -0,0 +1,142 @@
+config BOARD_TYAN_S2881
+ bool "Tyan Thunder K8SR S2881"
+ select ARCH_X86
+ select CPU_AMD_K8
+ select CPU_AMD_SOCKET_940
+ select NORTHBRIDGE_AMD_AMDK8
+ select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
+ select SOUTHBRIDGE_AMD_AMD8131
+ select SOUTHBRIDGE_AMD_AMD8111
+ select SUPERIO_WINBOND_W83627HF
+ select PIRQ_TABLE
+
+config MAINBOARD_DIR
+ string
+ default tyan/s2881
+ depends on BOARD_TYAN_S2881
+
+config APIC_ID_OFFSET
+ hex
+ default 0x10
+ depends on BOARD_TYAN_S2881
+
+config SB_HT_CHAIN_ON_BUS0
+ int
+ default 2
+ depends on BOARD_TYAN_S2881
+
+config LB_CKS_RANGE_END
+ int
+ default 122
+ depends on BOARD_TYAN_S2881
+
+config LB_CKS_LOC
+ int
+ default 123
+ depends on BOARD_TYAN_S2881
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "s2881"
+ depends on BOARD_TYAN_S2881
+
+config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
+ hex
+ default 0x2881
+ depends on BOARD_TYAN_S2881
+
+config USE_FAILOVER_IMAGE
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config HW_MEM_HOLE_SIZEK
+ hex
+ default 0x100000
+ depends on BOARD_TYAN_S2881
+
+config MEM_TRAIN_SEQ
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config HAVE_FAILOVER_BOOT
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config USE_FAILOVER_IMAGE
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config MAX_CPUS
+ int
+ default 4
+ depends on BOARD_TYAN_S2881
+
+config MAX_PHYSICAL_CPUS
+ int
+ default 2
+ depends on BOARD_TYAN_S2881
+
+config MEM_TRAIN_SEQ
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config AP_CODE_IN_CAR
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config HW_MEM_HOLE_SIZE_AUTO_INC
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config HT_CHAIN_UNITID_BASE
+ hex
+ default 0xa
+ depends on BOARD_TYAN_S2881
+
+config HT_CHAIN_END_UNITID_BASE
+ hex
+ default 0x6
+ depends on BOARD_TYAN_S2881
+
+config USE_INIT
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config SERIAL_CPU_INIT
+ bool
+ default y
+ depends on BOARD_TYAN_S2881
+
+config AP_CODE_IN_CAR
+ bool
+ default y
+ depends on BOARD_TYAN_S2881
+
+config WAIT_BEFORE_CPUS_INIT
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config SB_HT_CHAIN_ON_BUS0
+ int
+ default 0
+ depends on BOARD_TYAN_S2881
+
+config SB_HT_CHAIN_UNITID_OFFSET_ONLY
+ bool
+ default n
+ depends on BOARD_TYAN_S2881
+
+config HAVE_ACPI_TABLES
+ bool "Generate ACPI tables"
+ default n
+ depends on BOARD_TYAN_S2881
+
diff --git a/src/mainboard/tyan/s2881/Makefile.inc b/src/mainboard/tyan/s2881/Makefile.inc
new file mode 100644
index 0000000000..c87d45d32a
--- /dev/null
+++ b/src/mainboard/tyan/s2881/Makefile.inc
@@ -0,0 +1,2 @@
+include $(src)/mainboard/tyan/Makefile.s289x.inc
+driver-$(CONFIG_BOARD_TYAN_S2881) += ../../../drivers/i2c/adm1027/adm1027.o