cpu/intel/*init: Remove obsolete cache enable
The caches have already been enabled during MP-init, so these function calls are redundant. Remove them. Change-Id: Ia9be1a3388d8e7c73c35a1c68b3dd5bc488658c2 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49383 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
393992f31d
commit
d26e1cf484
|
@ -264,9 +264,6 @@ static void model_1067x_init(struct device *cpu)
|
|||
/* Test for TM2 only if EIST is available. */
|
||||
const char tm2 = eist && (cpuid1.ecx & (1 << 8));
|
||||
|
||||
/* Turn on caching if we haven't already */
|
||||
x86_enable_cache();
|
||||
|
||||
/* Print processor name */
|
||||
fill_processor_name(processor_name);
|
||||
printk(BIOS_INFO, "CPU: %s.\n", processor_name);
|
||||
|
|
|
@ -63,9 +63,6 @@ static void model_106cx_init(struct device *cpu)
|
|||
{
|
||||
char processor_name[49];
|
||||
|
||||
/* Turn on caching if we haven't already */
|
||||
x86_enable_cache();
|
||||
|
||||
/* Print processor name */
|
||||
fill_processor_name(processor_name);
|
||||
printk(BIOS_INFO, "CPU: %s.\n", processor_name);
|
||||
|
|
|
@ -185,9 +185,6 @@ static void model_2065x_init(struct device *cpu)
|
|||
{
|
||||
char processor_name[49];
|
||||
|
||||
/* Turn on caching if we haven't already */
|
||||
x86_enable_cache();
|
||||
|
||||
/* Clear out pending MCEs */
|
||||
configure_mca();
|
||||
|
||||
|
|
|
@ -425,9 +425,6 @@ static void model_206ax_report(void)
|
|||
static void model_206ax_init(struct device *cpu)
|
||||
{
|
||||
|
||||
/* Turn on caching if we haven't already */
|
||||
x86_enable_cache();
|
||||
|
||||
/* Clear out pending MCEs */
|
||||
configure_mca();
|
||||
|
||||
|
|
Loading…
Reference in New Issue