Am 07.09.2010 01:23, schrieb Kevin O'Connor:
Enable TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 by default. Without this set, almost all boards use the inb(0x80) method. Unfortunately, that method takes over a second to calibrate, and it's results are not as reliable.
There is a chance that some boards may not work well with the timer2 method. This is likely rare, because both libpayload and seabios use the timer2 method unconditionally and there has not been reports of an issue. Should a board not support the more accurate timer2 mechanism, it will need to be updated to actively disable it.
How about this instead? It allows boards that require the workaround to simply "select" it.
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de