From: Simon Glass Date: Sun, 17 Jan 2016 23:11:26 +0000 (-0700) Subject: x86: ivybridge: Drop the dead MTRR code X-Git-Tag: v2016.03-rc1~112 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d173185d73542d11544543f3c8c9a4f529fe30e2;p=u-boot x86: ivybridge: Drop the dead MTRR code This is not used and MTRRs are set up elsewhere now. Drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/x86/cpu/ivybridge/model_206ax.c b/arch/x86/cpu/ivybridge/model_206ax.c index a217954ba6..9654600cf1 100644 --- a/arch/x86/cpu/ivybridge/model_206ax.c +++ b/arch/x86/cpu/ivybridge/model_206ax.c @@ -412,16 +412,6 @@ static int model_206ax_init(struct udevice *dev) set_ehci_debug(0); #endif - /* Setup MTRRs based on physical address size */ -#if 0 /* TODO: Implement this */ - struct cpuid_result cpuid_regs; - - cpuid_regs = cpuid(0x80000008); - x86_setup_fixed_mtrrs(); - x86_setup_var_mtrrs(cpuid_regs.eax & 0xff, 2); - x86_mtrr_check(); -#endif - #if CONFIG_USBDEBUG set_ehci_debug(ehci_debug_addr); #endif