coreboot-kgpe-d16/src/cpu
Aaron Durbin 01dfdc5369 cpu/x86/tsc: compile same code for all stages
The delay_tsc.c code took different paths depending
__PRE_RAM__ being defined or not. Also, 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.

Lastly, handle apollolake fallout now that init_timer() is
not needed in placeholders.c.

Change-Id: Ia769fa71e2c9d8b11201a3896d117097f2cb7c56
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/14301
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
2016-04-11 16:14:46 +02:00
..
allwinner src/: Fix lint style-labels warnings 2016-03-31 23:05:32 +02:00
amd src/: Fix lint style-labels warnings 2016-03-31 23:05:32 +02:00
armltd vboot2: add verstage 2015-01-27 01:41:40 +01:00
dmp x86 chipsets: Link non-code flow CHIPSET_BOOTBLOCK_INCLUDE files 2015-12-30 18:34:08 +01:00
intel northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
qemu-power8 cpu/qemu-power8: don't enable it for qemu-x86 2016-02-19 20:03:52 +01:00
qemu-x86 qemu-x86: Enable SMP support 2015-12-08 15:54:27 +01:00
ti am335x: Add some code for manipulating GPIOs 2016-04-10 18:18:07 +02:00
via cpu/via/c7: Don't manually include udelay_io.c 2016-03-10 16:56:23 +01:00
x86 cpu/x86/tsc: compile same code for all stages 2016-04-11 16:14:46 +02:00
Kconfig cpu: Add a way to use microcode .h files back to the build 2015-11-10 19:22:40 +01:00
Makefile.inc cpu: Add a way to use microcode .h files back to the build 2015-11-10 19:22:40 +01:00