diff options
author | Rob Barnes <robbarnes@google.com> | 2022-09-12 06:31:47 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-09-14 11:55:39 +0000 |
commit | d522f38c7bfccdc4af71bcad133aec20096f3f6c (patch) | |
tree | 28824b7b1bb659fffc6d1b8cb793f98f93f53c89 /src/southbridge/intel | |
parent | 51249d6bed93f25569a35fa184038cafddc0dec0 (diff) |
timer: Change timer util functions to 64-bit
Since mono_time is now 64-bit, the utility functions interfacing with
mono_time should also be 64-bit so precision isn't lost.
Fixed build errors related to printing the now int64_t result of
stopwatch_duration_[m|u]secs in various places.
BUG=b:237082996
BRANCH=All
TEST=Boot dewatt
Change-Id: I169588f5e14285557f2d03270f58f4c07c0154d5
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66170
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r-- | src/southbridge/intel/bd82x6x/me_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/bd82x6x/me_common.c b/src/southbridge/intel/bd82x6x/me_common.c index 96fc6c23d9..a48d412880 100644 --- a/src/southbridge/intel/bd82x6x/me_common.c +++ b/src/southbridge/intel/bd82x6x/me_common.c @@ -478,7 +478,7 @@ void exit_soft_temp_disable_wait(struct device *dev) if (!hfs.fw_init_complete) printk(BIOS_ERR, "ME: giving up on waiting for fw_init_complete\n"); else - printk(BIOS_NOTICE, "ME: took %lums to complete initialization\n", + printk(BIOS_NOTICE, "ME: took %lldms to complete initialization\n", stopwatch_duration_msecs(&sw)); } |