cpu/x86: Introduce CPU_X86_CACHE_HELPER

There's no need for relative paths with Kconfig options.

Change-Id: Ib9b9b29a158c34a30480aaabf6d0b23819d28427
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44226
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Felix Held
2021-10-22 23:54:53 +02:00
committed by Felix Held
parent 8023eabde1
commit e2783daa84
24 changed files with 18 additions and 11 deletions

View File

@@ -3,6 +3,7 @@
config CPU_AMD_AGESA_FAMILY14
bool
select X86_AMD_FIXED_MTRRS
select CPU_X86_CACHE_HELPER
if CPU_AMD_AGESA_FAMILY14

View File

@@ -8,4 +8,3 @@ ramstage-y += model_14_init.c
subdirs-y += ../../mtrr
subdirs-y += ../../../x86/lapic
subdirs-y += ../../../x86/cache

View File

@@ -4,6 +4,7 @@ config CPU_AMD_AGESA_FAMILY15_TN
bool
select IDS_OPTIONS_HOOKED_UP
select X86_AMD_FIXED_MTRRS
select CPU_X86_CACHE_HELPER
if CPU_AMD_AGESA_FAMILY15_TN

View File

@@ -11,4 +11,3 @@ smm-y += udelay.c
subdirs-y += ../../mtrr
subdirs-y += ../../smm
subdirs-y += ../../../x86/lapic
subdirs-y += ../../../x86/cache

View File

@@ -3,6 +3,7 @@
config CPU_AMD_AGESA_FAMILY16_KB
bool
select X86_AMD_FIXED_MTRRS
select CPU_X86_CACHE_HELPER
if CPU_AMD_AGESA_FAMILY16_KB

View File

@@ -8,4 +8,3 @@ ramstage-y += model_16_init.c
subdirs-y += ../../mtrr
subdirs-y += ../../../x86/lapic
subdirs-y += ../../../x86/cache