coreboot/src/soc/intel/icelake
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
..
acpi soc/intel: Include gfx.asl from northbridge 2021-03-01 08:32:47 +00:00
bootblock soc/intel/icelake: Make use of `cpu/intel/cpu_ids.h' 2021-07-17 09:50:56 +00:00
include/soc soc/intel: Rename and move MISCCFG_GPIO_PM_CONFIG_BITS definition to soc/gpio.h 2021-03-27 04:23:12 +00:00
romstage soc/intel/icelake: Make use of is_devfn_enabled() function 2021-06-23 08:25:11 +00:00
acpi.c soc/intel: Drop casts around soc_read_pmc_base() 2021-06-28 04:16:48 +00:00
chip.c soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
chip.h soc/intel/{cannonlake,icelake}: Drop unhooked SendVrMbxCmd 2021-04-08 06:47:40 +00:00
cpu.c src: Remove unused <arch/cpu.h> 2021-02-11 10:25:23 +00:00
elog.c ELOG: Add const qualifier for chipset_power_state 2021-01-23 20:18:11 +00:00
espi.c src: Match array format in function declarations and definitions 2021-05-13 18:34:38 +00:00
finalize.c Move post_codes.h to commonlib/console/ 2021-08-04 15:15:51 +00:00
fsp_params.c soc/intel/*: Allow configuring 8254 timer via CMOS 2021-08-03 15:21:04 +00:00
gpio.c
gspi.c
i2c.c
Kconfig src/*: Specify type of CBFS_SIZE once 2021-07-26 14:02:57 +00:00
lockdown.c
Makefile.inc cpu/x86/tsc: Deduplicate Makefile logic 2021-09-08 14:35:16 +00:00
me.c
p2sb.c
pmc.c soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
pmutil.c soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
reset.c
sd.c
smihandler.c soc/intel: Remove unused <console/console.h> 2021-02-15 10:50:09 +00:00
spi.c
systemagent.c soc/intel: Replace SA_PCIEX_LENGTH Kconfig options 2021-01-30 23:14:08 +00:00
uart.c soc/intel/*: drop UART pad configuration from common code 2021-03-12 08:48:03 +00:00