Patchwork Tyan s2881 Kconfig

login
register
about
Submitter Myles Watson
Date 2009-09-23 17:38:11
Message ID <2831fecf0909231038y5bfa5edejb4fa39b46ea472ce@mail.gmail.com>
Download mbox | patch
Permalink /patch/283/
State Accepted
Headers show

Comments

Myles Watson - 2009-09-23 17:38:11
On Wed, Sep 23, 2009 at 10:56 AM, ron minnich <rminnich@gmail.com> wrote:

> Currently, because they are so simple, we don't have makefile.inc
> files for i2c drivers. see serengeti_cheetah:
> driver-y += ../../../drivers/i2c/i2cmux/i2cmux.o
>
Second try.

Signed-off-by: Myles Watson <mylesgw@gmail.com>

Thanks,
Myles
Myles Watson - 2009-09-23 18:02:13
On Wed, Sep 23, 2009 at 11:54 AM, ron minnich <rminnich@gmail.com> wrote:

> great. Is it  a driver or not? I'm too distracted with another but to
> tell. If you're sure it's a driver,
>
I thought it should be, and serengeti_cheetah says it is.  If it's wrong I
guess we can change both in a separate commit.


> Acked-by: Ronald G. Minnich <rminnich@gmail.com>
>
Rev 4660.
Thanks,
Myles

Patch

Index: svn/src/mainboard/tyan/Kconfig
===================================================================
--- svn.orig/src/mainboard/tyan/Kconfig
+++ svn/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"
Index: svn/src/mainboard/tyan/s2881/Kconfig
===================================================================
--- svn.orig/src/mainboard/tyan/s2881/Kconfig
+++ svn/src/mainboard/tyan/s2881/Kconfig
@@ -1,142 +1,142 @@ 
-config BOARD_TYAN_S2891
-	bool "Tyan Thunder K8SRE S2891"
+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_NVIDIA_CK804
 	select SOUTHBRIDGE_AMD_AMD8131
+	select SOUTHBRIDGE_AMD_AMD8111
 	select SUPERIO_WINBOND_W83627HF
 	select PIRQ_TABLE
 
 config MAINBOARD_DIR
 	string
-	default tyan/s2891
-	depends on BOARD_TYAN_S2891
+	default tyan/s2881
+	depends on BOARD_TYAN_S2881
 
 config APIC_ID_OFFSET
 	hex
 	default 0x10
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config SB_HT_CHAIN_ON_BUS0
 	int
 	default 2
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config LB_CKS_RANGE_END
 	int
 	default 122
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config LB_CKS_LOC
 	int
         default 123
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config MAINBOARD_PART_NUMBER
 	string
-	default "s2891"
-	depends on BOARD_TYAN_S2891
+	default "s2881"
+	depends on BOARD_TYAN_S2881
 
 config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
 	hex
-	default 0x2891
-	depends on BOARD_TYAN_S2891
+	default 0x2881
+	depends on BOARD_TYAN_S2881
 
 config USE_FAILOVER_IMAGE
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config HW_MEM_HOLE_SIZEK
 	hex
 	default 0x100000
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config MEM_TRAIN_SEQ
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config HAVE_FAILOVER_BOOT
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config USE_FAILOVER_IMAGE
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config MAX_CPUS
 	int
 	default 4
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config MAX_PHYSICAL_CPUS
 	int
 	default 2
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config MEM_TRAIN_SEQ
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config AP_CODE_IN_CAR
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config HW_MEM_HOLE_SIZE_AUTO_INC
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config HT_CHAIN_UNITID_BASE
 	hex
-	default 0
-	depends on BOARD_TYAN_S2891
+	default 0xa
+	depends on BOARD_TYAN_S2881
 
 config HT_CHAIN_END_UNITID_BASE
 	hex
-	default 0x20
-	depends on BOARD_TYAN_S2891
+	default 0x6
+	depends on BOARD_TYAN_S2881
 
 config USE_INIT
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config SERIAL_CPU_INIT
 	bool
 	default y
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config AP_CODE_IN_CAR
 	bool
 	default y
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config WAIT_BEFORE_CPUS_INIT
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config SB_HT_CHAIN_ON_BUS0
 	int
-	default 2
-	depends on BOARD_TYAN_S2891
+	default 0
+	depends on BOARD_TYAN_S2881
 
 config SB_HT_CHAIN_UNITID_OFFSET_ONLY
 	bool
 	default n
-	depends on BOARD_TYAN_S2891
+	depends on BOARD_TYAN_S2881
 
 config HAVE_ACPI_TABLES
 	bool "Generate ACPI tables"
-	default y
-	depends on BOARD_TYAN_S2891
+	default n
+	depends on BOARD_TYAN_S2881
 
Index: svn/src/mainboard/tyan/s2881/Makefile.inc
===================================================================
--- svn.orig/src/mainboard/tyan/s2881/Makefile.inc
+++ svn/src/mainboard/tyan/s2881/Makefile.inc
@@ -1 +1,2 @@ 
 include $(src)/mainboard/tyan/Makefile.s289x.inc
+driver-$(CONFIG_BOARD_TYAN_S2881) += ../../../drivers/i2c/adm1027/adm1027.o