Make EPIA-M use CONFIG_TSC.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2039 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Jonathan McDowell 2005-09-14 16:33:10 +00:00
parent 708743379a
commit 1718c4771b
2 changed files with 10 additions and 3 deletions

View File

@ -128,11 +128,12 @@ static unsigned long long calibrate_tsc(void)
delta >>= 20; delta >>= 20;
// save this for microsecond timing. // save this for microsecond timing.
result = delta; result = delta;
printk_spew("end %x:%x, start %x:%x\n", printk_spew("end %x, start %x\n", end, start);
endhigh, endlow, starthigh, startlow);
printk_spew("32-bit delta %d\n", (unsigned long) delta); printk_spew("32-bit delta %d\n", (unsigned long) delta);
printk_spew(__FUNCTION__ " 32-bit result is %d\n", result); printk_spew("%s 32-bit result is %d\n",
__FUNCTION__,
result);
return delta; return delta;
} }

View File

@ -35,6 +35,7 @@ uses OBJCOPY
uses DEFAULT_CONSOLE_LOGLEVEL uses DEFAULT_CONSOLE_LOGLEVEL
uses MAXIMUM_CONSOLE_LOGLEVEL uses MAXIMUM_CONSOLE_LOGLEVEL
uses CONFIG_CONSOLE_SERIAL8250 uses CONFIG_CONSOLE_SERIAL8250
uses CONFIG_UDELAY_TSC
## ROM_SIZE is the size of boot ROM that this board will use. ## ROM_SIZE is the size of boot ROM that this board will use.
default ROM_SIZE = 256*1024 default ROM_SIZE = 256*1024
@ -53,6 +54,11 @@ default HAVE_FALLBACK_BOOT=1
## ##
default HAVE_MP_TABLE=0 default HAVE_MP_TABLE=0
##
## Use TSC for udelay.
##
default CONFIG_UDELAY_TSC=1
## ##
## Build code to reset the motherboard from linuxBIOS ## Build code to reset the motherboard from linuxBIOS
## ##