summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2011-08-08 16:51:04 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:30 -0700
commitecc8c1e8ec9339a11a6dd79a3bd4ed65da79b189 (patch)
tree09948befd54961ce85f91307e0b373d35edfeaa0 /common
parentdc900f1de50a5e0d329433cb3957d40c689062b7 (diff)
Makes the VbExGetTimer vboot callback function board specific
The timer_get_us function which is called by the existing implementation of VbExGetTimer isn't trivial to implement on x86. The vboot source says that the TSC is an appropriate time source to return from this function. This change makes the VbExGetTimer function per board so that it can use rdtsc instead of timer_get_us. BUG=chrome-os-partner:4552 TEST=Built and booted on x86-alex, and built on tegra2_kaen. Signed-off-by: Gabe Black <gabeblack@google.com> Change-Id: I335d5ae98949cd05c42dc3f30c52931bdf63a623 Reviewed-on: http://gerrit.chromium.org/gerrit/5544 Reviewed-by: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions