diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-02-20 17:38:45 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-21 19:10:45 +0000 |
commit | 187e4c4474a4b678a88b0f7df67e387f0d0d46fb (patch) | |
tree | 905e54214771008f7591a04c83974a7b2024f41a /src/drivers/spi | |
parent | 69a95653399657bf6b2491c259479c954fee2509 (diff) |
timestamp: Move timestamp_should_run() call
Old location caused spurious error messages when
called from APs, where timestamp_add_now() should
do nothing.
Moving the test also makes get_us_from_boot() usable
from APs (assuming cache coherency).
Change-Id: Ice9ece11b15bbe1a58a038cda3d299862e6f822b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31524
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/spi')
0 files changed, 0 insertions, 0 deletions