summaryrefslogtreecommitdiff
path: root/src/mainboard/via/epia-m/Options.lb
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2007-05-10 23:50:27 +0000
committerStefan Reinauer <stepan@openbios.org>2007-05-10 23:50:27 +0000
commitdeabf510bff37c1f3a1fd3ec50b88db17d38b802 (patch)
tree3dce82f996b72212c3143dd6f68f4d9ff93081de /src/mainboard/via/epia-m/Options.lb
parentddf845f620eb43d9ea2e8b0b265c321c6e797e6f (diff)
downloadcoreboot-deabf510bff37c1f3a1fd3ec50b88db17d38b802.tar.xz
Changes by Richard Smith and Peter Stuge from the LinuxBIOS symposium 2006.
With CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=0, 1 million outb():s are used for timer calibration, which takes about one second. All EPIA-M boards have timer2 so we use it to boot faster. Only some EPIA boards have the Nehemiah CPU with timer2 so we default to IO calibration but add the TSC options so that they can be set in Config.lb. src/mainboard/via/epia*/reset.c is dead code (entire file within #if 0) so we set HAVE_HARD_RESET=0 for both boards. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2659 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/epia-m/Options.lb')
-rw-r--r--src/mainboard/via/epia-m/Options.lb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/via/epia-m/Options.lb b/src/mainboard/via/epia-m/Options.lb
index 89cdc470b8..50d57979e3 100644
--- a/src/mainboard/via/epia-m/Options.lb
+++ b/src/mainboard/via/epia-m/Options.lb
@@ -38,6 +38,7 @@ uses DEFAULT_CONSOLE_LOGLEVEL
uses MAXIMUM_CONSOLE_LOGLEVEL
uses CONFIG_CONSOLE_SERIAL8250
uses CONFIG_UDELAY_TSC
+uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
uses CONFIG_PCI_ROM_RUN
uses CONFIG_CONSOLE_VGA
uses CONFIG_MAX_PCI_BUSES
@@ -66,11 +67,12 @@ default HAVE_MP_TABLE=0
## Use TSC for udelay.
##
default CONFIG_UDELAY_TSC=1
+default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=1
##
## Build code to reset the motherboard from linuxBIOS
##
-default HAVE_HARD_RESET=1
+default HAVE_HARD_RESET=0
##
## Build code to export a programmable irq routing table