Next step. Kill auto.c and failover.c and clean up Config.lb for
[coreboot.git] / src / mainboard / tyan / s2892 / Config.lb
index 4b3f668e502e973a5c3856dfe23add0b3865cb01..bcc444d1a69e349a5d51b3dc72767018de5183e6 100644 (file)
@@ -51,6 +51,18 @@ if HAVE_MP_TABLE object mptable.o end
 if HAVE_PIRQ_TABLE object irq_tables.o end
 #object reset.o
 
+if HAVE_ACPI_TABLES
+        object acpi_tables.o
+       makerule dsdt.c
+               depends "$(MAINBOARD)/dsdt.dsl"
+               action  "iasl -p $(PWD)/dsdt -tc $(MAINBOARD)/dsdt.dsl"
+               action  "mv dsdt.hex dsdt.c"
+       end
+        object ./dsdt.o
+       #./ssdt.o is moved to northbridge/amd/amdk8/Config.lb
+       #./fadt.o is moved to southbridge/nvidia/ck804/Config.lb
+end
+
 if USE_DCACHE_RAM
 
 if CONFIG_USE_INIT
@@ -194,9 +206,7 @@ end
 ##
 ## Include the secondary Configuration files
 ##
-if CONFIG_CHIP_NAME
-       config chip.h
-end
+config chip.h
 
 # sample config for tyan/s2892
 chip northbridge/amd/amdk8/root_complex
@@ -218,9 +228,10 @@ chip northbridge/amd/amdk8/root_complex
                                                                irq 0x70 = 6
                                                                drq 0x74 = 2
                                                        end
-                                                       device pnp 2e.1 off #  Parallel Port
+                                                       device pnp 2e.1 on #  Parallel Port
                                                                io 0x60 = 0x378
                                                                irq 0x70 = 7
+                                                               drq 0x74 = 3
                                                        end
                                                        device pnp 2e.2 on #  Com1
                                                                io 0x60 = 0x3f8