]> git.sur5r.net Git - u-boot/commitdiff
x86: ivybridge: Drop the dead MTRR code
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:26 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:08:17 +0000 (12:08 +0800)
This is not used and MTRRs are set up elsewhere now. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/model_206ax.c

index a217954ba68d6d89ae2bc87d63951683de8a51fc..9654600cf17866708698a3347a9fa6f7720ebec3 100644 (file)
@@ -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