diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-04-08 21:12:01 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-04-11 16:13:46 +0200 |
commit | 711bfa97108989d8c273315ceae6b3d8351c4ac6 (patch) | |
tree | 63f657e50c23f64f470562fd4bde0a4caea457ac /src/arch/riscv | |
parent | 6f3a55ae7ec2b2d8b55a09e4eec3377084339800 (diff) |
cpu/x86/tsc: prepare for CAR_GLOBAL in delay_tsc.c
The current code in delay_tsc.c uses globals and is heavily
guarded by a lot of preprocessor macros. In order to remove
__PRE_RAM__ constraints one needs to use CAR_GLOBAL for the
global variables. Therefore, abstract away direct access to
the globals such that CAR_GLOBAL can be easily employed.
Change-Id: I3350d1a762120476926c8d9f5f5a7aba138daf5f
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/14300
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Diffstat (limited to 'src/arch/riscv')
0 files changed, 0 insertions, 0 deletions