coreboot-kgpe-d16/payloads
Julius Werner 5ec3deac6b libpayload: timer: Revert timer_hz() return type to 64-bits
It seems that reducing the return type of timer_hz() to uint32_t in
CB:78888 was a bad idea... some Intel platforms actually use their raw
CPU clock for the timestamp counter which can be higher than 4GHz. This
patch reverts it back to uint64_t.

Also remove the redundant assertion in timer/generic.c since timer_us()
itself already does that check.

Cq-Depend: chromium:5274555
Change-Id: I471c7de7a28aec5bb965b23525ed579481ac8361
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80320
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Yidi Lin <yidilin@google.com>
2024-02-08 21:07:13 +00:00
..
coreinfo Makefiles: Rename top-level Makefiles from .inc to .mk 2024-01-24 08:31:31 +00:00
external payloads: Rename Makefiles from .inc to .mk 2024-01-24 10:15:10 +00:00
libpayload libpayload: timer: Revert timer_hz() return type to 64-bits 2024-02-08 21:07:13 +00:00
linuxcheck treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvramcui payloads/nvramcui/nvramcui.c: Reformat code 2022-05-16 02:49:50 +00:00
Kconfig payloads/Kconfig: Make flat-binary configurable 2024-01-26 19:16:45 +00:00
Makefile.mk Makefiles: Rename top-level Makefiles from .inc to .mk 2024-01-24 08:31:31 +00:00