diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-03-10 20:56:54 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-03-10 20:56:54 +0000 |
commit | 34b1d4ef376358661265fbdb64553332aa952e29 (patch) | |
tree | 5e4fc7cf260d6bff4dd73227820014300e7bf04d /src/mainboard/tyan/s2895/Config.lb | |
parent | 283a49452184365112c1520b0864d930dd8ab63b (diff) |
This patch adds ACPI support for Tyan s2891, s2892, and s2895. There is still
a problem with IRQ 9, but besides that Linux is happy. BSOD in Windows still.
changes by file:
src/mainboard/tyan/s289X/Options.lb:
Add options and defaults for ACPI tables and resources.
src/mainboard/tyan/s289X/mainboard.c:
Add high_tables resource ala Stefan's code for the Kontron.
src/mainboard/tyan/s289X/acpi_tables.c:
Fill out the ACPI tables, using existing code where possible.
Only the madt is different between the boards, to be combined later.
src/mainboard/tyan/s289X/Config.lb:
Compile in acpi_tables.c and dsdt.dsl.
Turn on the parallel port and the real-time-clock.
src/mainboard/tyan/s289x/dsdt.dsl:
The board layout (thanks Rudolf) and interrupts from mptable.c
src/mainboard/tyan/s289x/mptable.c:
Minor formatting changes to make them diff better.
src/superio/smsc/lpc47b397/superio.c:
Correct the size of the real-time-clock so it can be where it belongs.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Rudolf Marek <r.marek@assembler.cz>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3989 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/tyan/s2895/Config.lb')
-rw-r--r-- | src/mainboard/tyan/s2895/Config.lb | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/mainboard/tyan/s2895/Config.lb b/src/mainboard/tyan/s2895/Config.lb index c87a530852..1ac890c00d 100644 --- a/src/mainboard/tyan/s2895/Config.lb +++ b/src/mainboard/tyan/s2895/Config.lb @@ -60,6 +60,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 @@ -254,9 +266,10 @@ chip northbridge/amd/amdk8/root_complex irq 0x70 = 6 drq 0x74 = 2 end - device pnp 2e.3 off # Parallel Port + device pnp 2e.3 on # Parallel Port io 0x60 = 0x378 irq 0x70 = 7 + drq 0x74 = 3 end device pnp 2e.4 on # Com1 io 0x60 = 0x3f8 @@ -282,7 +295,8 @@ chip northbridge/amd/amdk8/root_complex end end device pnp 2e.a on # RT - io 0x60 = 0x400 + io 0x60 = 0x90 + irq 0x70 = 8 end end end |