]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
timer: Delay timestamp counter init until after pmtimer is probed
authorKevin O'Connor <kevin@koconnor.net>
Wed, 22 Jul 2015 20:06:27 +0000 (16:06 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 22 Jul 2015 20:09:34 +0000 (16:09 -0400)
commitbbb3fbac21c7d3839654bf1c352423b424dbaeb3
treeddc9fdb9afa458359425ec50915281abfd02627b
parent4ce5d20799ed25f1cf7666e11334d72e3ddb5749
timer: Delay timestamp counter init until after pmtimer is probed

Delay call to timer_setup() until after the xxx_platform_setup() calls
so that the pmtimer can be detected first.  Most modern machines will
have a pmtimer and calibrating the timestamp counter is frequently
unnecessary.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/post.c