coreboot-kgpe-d16/src/cpu
Angel Pons 44985ae757 cpu/x86/tsc: Deduplicate Makefile logic
The code under `cpu/x86/tsc` is only compiled in when its `Makefile.inc`
is included from platform (CPU/SoC) code and the `UDELAY_TSC` Kconfig
option is enabled.

Include `cpu/x86/tsc/Makefile.inc` once from `cpu/x86/Makefile.inc` and
drop the now-redundant inclusions from platform code. Also, deduplicate
the `UDELAY_TSC` guards.

Change-Id: I41e96026f37f19de954fd5985b92a08cb97876c1
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57456
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-09-08 14:35:16 +00:00
..
amd cpu/x86/tsc: Deduplicate Makefile logic 2021-09-08 14:35:16 +00:00
armltd
intel cpu/x86/tsc: Deduplicate Makefile logic 2021-09-08 14:35:16 +00:00
qemu-power8
qemu-x86 cpu/x86/tsc: Deduplicate Makefile logic 2021-09-08 14:35:16 +00:00
x86 cpu/x86/tsc: Deduplicate Makefile logic 2021-09-08 14:35:16 +00:00
Kconfig src/cpu: Remove unused symbols 2021-02-18 10:11:24 +00:00
Makefile.inc src/cpu: Remove unused symbols 2021-02-18 10:11:24 +00:00