diff options
Diffstat (limited to 'src/cpu/x86')
-rw-r--r-- | src/cpu/x86/Kconfig | 6 | ||||
-rw-r--r-- | src/cpu/x86/Makefile.inc | 1 | ||||
-rw-r--r-- | src/cpu/x86/cache/Makefile.inc | 1 | ||||
-rw-r--r-- | src/cpu/x86/cache/cache.c | 11 |
4 files changed, 0 insertions, 19 deletions
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig index bae38891ad..fb5b5413b9 100644 --- a/src/cpu/x86/Kconfig +++ b/src/cpu/x86/Kconfig @@ -1,9 +1,3 @@ -config CPU_X86_CACHE_HELPER - bool - default n - help - Add the x86_enable_cache ramstage helper function to the build. - config PARALLEL_MP def_bool y depends on !LEGACY_SMP_INIT diff --git a/src/cpu/x86/Makefile.inc b/src/cpu/x86/Makefile.inc index 19c9e03a02..b9f6417a22 100644 --- a/src/cpu/x86/Makefile.inc +++ b/src/cpu/x86/Makefile.inc @@ -1,4 +1,3 @@ -subdirs-$(CONFIG_CPU_X86_CACHE_HELPER) += cache subdirs-y += lapic subdirs-y += mtrr subdirs-y += pae diff --git a/src/cpu/x86/cache/Makefile.inc b/src/cpu/x86/cache/Makefile.inc deleted file mode 100644 index b33b9eeff0..0000000000 --- a/src/cpu/x86/cache/Makefile.inc +++ /dev/null @@ -1 +0,0 @@ -ramstage-y += cache.c diff --git a/src/cpu/x86/cache/cache.c b/src/cpu/x86/cache/cache.c deleted file mode 100644 index 7ed3866c93..0000000000 --- a/src/cpu/x86/cache/cache.c +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <console/console.h> -#include <cpu/x86/cache.h> - -void x86_enable_cache(void) -{ - post_code(POST_ENABLING_CACHE); - printk(BIOS_INFO, "Enabling cache\n"); - enable_cache(); -} |