Skip to content
Snippets Groups Projects
Commit d173185d authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

x86: ivybridge: Drop the dead MTRR code


This is not used and MTRRs are set up elsewhere now. Drop it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 709b1902
No related branches found
No related tags found
No related merge requests found
...@@ -412,16 +412,6 @@ static int model_206ax_init(struct udevice *dev) ...@@ -412,16 +412,6 @@ static int model_206ax_init(struct udevice *dev)
set_ehci_debug(0); set_ehci_debug(0);
#endif #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 #if CONFIG_USBDEBUG
set_ehci_debug(ehci_debug_addr); set_ehci_debug(ehci_debug_addr);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment