Next step. Kill auto.c and failover.c and clean up Config.lb for
[coreboot.git] / src / mainboard / tyan / s2892 / Config.lb
index ee614d128722717dc359cabdbd9fbd99242f9e43..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
@@ -61,7 +73,7 @@ if CONFIG_USE_INIT
 else
        makerule ./auto.inc
                depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
-               action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
+               action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
                action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
                action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
        end
@@ -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