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/Options.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/Options.lb')
-rw-r--r-- | src/mainboard/tyan/s2895/Options.lb | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/src/mainboard/tyan/s2895/Options.lb b/src/mainboard/tyan/s2895/Options.lb index 55bef9597c..9949c679a5 100644 --- a/src/mainboard/tyan/s2895/Options.lb +++ b/src/mainboard/tyan/s2895/Options.lb @@ -33,6 +33,12 @@ uses USE_OPTION_TABLE uses LB_CKS_RANGE_START uses LB_CKS_RANGE_END uses LB_CKS_LOC +uses HAVE_ACPI_TABLES +uses HAVE_MAINBOARD_RESOURCES +uses HAVE_HIGH_TABLES +uses HAVE_LOW_TABLES +uses CONFIG_MULTIBOOT +uses HAVE_SMI_HANDLER uses MAINBOARD uses MAINBOARD_PART_NUMBER uses MAINBOARD_VENDOR @@ -56,6 +62,7 @@ uses HAVE_INIT_TIMER uses CONFIG_GDB_STUB uses CONFIG_CHIP_NAME uses CONFIG_CONSOLE_VGA +uses CONFIG_VGA_ROM_RUN uses CONFIG_PCI_ROM_RUN uses HW_MEM_HOLE_SIZEK uses K8_HT_FREQ_1G_SUPPORT @@ -80,11 +87,7 @@ uses SB_HT_CHAIN_UNITID_OFFSET_ONLY uses CONFIG_LB_MEM_TOPK ## ROM_SIZE is the size of boot ROM that this board will use. -#512K bytes -default ROM_SIZE=524288 - -#1M bytes -#default ROM_SIZE=1048576 +default ROM_SIZE=1024*1024 ## ## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use @@ -112,6 +115,11 @@ default HAVE_FAILOVER_BOOT=1 default HAVE_HARD_RESET=1 ## +## Build SMI handler +## +default HAVE_SMI_HANDLER=0 + +## ## Build code to export a programmable irq routing table ## default HAVE_PIRQ_TABLE=1 @@ -124,6 +132,15 @@ default IRQ_SLOT_COUNT=11 default HAVE_MP_TABLE=1 ## +## Build code to provide ACPI support +## +default HAVE_ACPI_TABLES=1 +default HAVE_LOW_TABLES=1 +default HAVE_MAINBOARD_RESOURCES=1 +default HAVE_HIGH_TABLES=0 +default CONFIG_MULTIBOOT=0 + +## ## Build code to export a CMOS option table ## default HAVE_OPTION_TABLE=1 @@ -135,6 +152,11 @@ default LB_CKS_RANGE_START=49 default LB_CKS_RANGE_END=122 default LB_CKS_LOC=123 +#VGA Console +default CONFIG_CONSOLE_VGA=1 +default CONFIG_PCI_ROM_RUN=1 +default CONFIG_VGA_ROM_RUN=1 + ## ## Build code for SMP support ## Only worry about 2 micro processors |