diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2018-08-02 13:21:57 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2018-08-03 09:13:20 +0000 |
commit | b3587a60ab5ab7ec00b1632013de3ac8b0aabed6 (patch) | |
tree | 5b4639f749fa9ce523d1ed2db4e734879eea6d58 /src/superio | |
parent | 59962f3015055ccf746d286330a8ce4cc8edeccd (diff) |
cpu/x86/lapic/apic_timer.c: Compile the same code for all stages
timer_monotonic_get() was only compiled in a !__PRE_RAM__ environment.
Clean up the code paths by employing CAR_GLOBAL for the global state
which allows the same code to be used in all stages.
Change-Id: I08fd1795508f76abdab1618585366bf9d06482ff
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/27801
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio')
0 files changed, 0 insertions, 0 deletions