coreboot/src/cpu/x86
Felix Held 10796d8c1e src/cpu: drop CPU_X86_CACHE_HELPER and x86_enable_cache wrapper function
Selecting CPU_X86_CACHE_HELPER only added the x86_enable_cache wrapper
function around enable_cache which additionally wrote a POST code to
port 0x80 and printed a message to the console. This function was only
called during multi-processor initialization in ramstage via the init
function pointer in the CPU's device operations struct and was run on
all cores, so the message on the console was printed once per CPU core.

This patch replaces all x86_enable_cache calls by calls to enable_cache
and removes the wrapper function and the Kconfig symbol
CPU_X86_CACHE_HELPER which was used to only add this when the
corresponding CPUs used the x86_enable_cache wrapper function.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Suggested-by: Angel Pons <th3fanbus@gmail.com>
Change-Id: I5866b6bf014821ff9e3a48052a5eaf69319b003a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58579
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-10-26 20:27:22 +00:00
..
64bit src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
lapic arch/x86,cpu/x86,lib/thread: Remove usage of cpu_info from lib/thread 2021-10-18 12:36:30 +00:00
mtrr cpu/x86/mtrr: Use a Kconfig for reserving MTRRs for OS 2021-04-29 14:51:47 +00:00
name cpu/x86/name/name.c: Clean up includes 2021-02-01 09:02:35 +00:00
pae src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
smm cpu/x86/smm/smm_stub: Remove cpu_info 2021-10-18 12:37:35 +00:00
tsc cpu/x86/tsc: Deduplicate Makefile logic 2021-09-08 14:35:16 +00:00
backup_default_smm.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu_info.S.inc arch/x86,cpu/x86: Fix 64-bit CPU_INFO_V2 build errors 2021-10-21 17:36:09 +00:00
early_reset.S cpu/x86/early_reset: Mark assemblycode as 32bit 2020-12-01 16:00:40 +00:00
entry16.S Asm code: Use NO_EARLY_BOOTBLOCK_POSTCODES to remove Asm port80s 2021-06-25 15:51:20 +00:00
entry32.S arch/x86,cpu/x86: Disable the %gs and %fs segments 2021-09-29 14:12:58 +00:00
fpu_enable.inc treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig src/cpu: drop CPU_X86_CACHE_HELPER and x86_enable_cache wrapper function 2021-10-26 20:27:22 +00:00
Kconfig.debug_cpu cpu/x86/Kconfig.debug_cpu: drop HAVE_DISPLAY_MTRRS option 2021-10-26 20:02:14 +00:00
Makefile.inc src/cpu: drop CPU_X86_CACHE_HELPER and x86_enable_cache wrapper function 2021-10-26 20:27:22 +00:00
mp_init.c cpu/x86/mp_init: move printing of failure message into mp_init_with_smm 2021-10-22 01:27:07 +00:00
reset16.S cpu/x86: Link reset16.inc 2021-01-28 08:52:35 +00:00
sipi_vector.S cpu/x86: Remove cpu parameter to ap_init 2021-10-21 17:37:10 +00:00
sse_enable.inc treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00