coreboot-kgpe-d16/src
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
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch Change la to li (load immediate) 2016-04-08 22:35:23 +02:00
commonlib arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
console arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
cpu cpu/x86/tsc: compile same code for all stages 2016-04-11 16:14:46 +02:00
device device: Add i2c read/write register field API 2016-03-21 23:10:55 +01:00
drivers drivers/intel/fsp2_0: Add utility to recover MRC NV Storage data 2016-04-08 00:46:12 +02:00
ec ec/lenovo/h8: do not reset volume on s3 wakeup 2016-04-10 18:14:15 +02:00
include edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
lib edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
mainboard beaglebone: Add code to set the value of the LEDs 2016-04-10 18:21:58 +02:00
northbridge nb/intel/sandybridge/raminit: always use mrccache 2016-04-10 18:15:40 +02:00
soc cpu/x86/tsc: compile same code for all stages 2016-04-11 16:14:46 +02:00
southbridge sb/amd/sb700: Add sb7xx_51xx_decode_last_reset() 2016-04-08 16:43:22 +02:00
superio superio/winbond/w83667hg-a: Set SPI device mask correctly 2016-04-08 18:36:14 +02:00
vendorcode chromeos: Fix adding a bmpblk to GBB 2016-04-05 13:37:11 +02:00
Kconfig Kconfig: remove COMPRESS_PRERAM_STAGES option from x86 2016-03-11 16:52:38 +01:00