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/s2892/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/s2892/Options.lb')
-rw-r--r-- | src/mainboard/tyan/s2892/Options.lb | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/src/mainboard/tyan/s2892/Options.lb b/src/mainboard/tyan/s2892/Options.lb index 37b9b5baa2..67937e0b18 100644 --- a/src/mainboard/tyan/s2892/Options.lb +++ b/src/mainboard/tyan/s2892/Options.lb @@ -30,6 +30,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 @@ -54,6 +60,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 @@ -71,11 +78,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 @@ -99,6 +102,11 @@ default HAVE_FALLBACK_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 @@ -111,6 +119,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 @@ -122,6 +139,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 |