summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge/bd82x6x.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-24 21:18:16 -0700
committerSimon Glass <sjg@chromium.org>2014-11-25 06:34:14 -0700
commitbb80be391693a868c2114d1a9505c45dce7a3607 (patch)
tree48fa7818ae5d90e1925bdf900f36f34a252ead68 /arch/x86/cpu/ivybridge/bd82x6x.c
parent0c9075e9ad21caa43c524288d7def9e8b081fa11 (diff)
downloadu-boot-imx-bb80be391693a868c2114d1a9505c45dce7a3607.zip
u-boot-imx-bb80be391693a868c2114d1a9505c45dce7a3607.tar.gz
u-boot-imx-bb80be391693a868c2114d1a9505c45dce7a3607.tar.bz2
x86: Add init for model 206AX CPU
Add the setup code for the CPU so that it can be used at full speed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/ivybridge/bd82x6x.c')
-rw-r--r--arch/x86/cpu/ivybridge/bd82x6x.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/bd82x6x.c b/arch/x86/cpu/ivybridge/bd82x6x.c
index 1fcbc28..1a3c036 100644
--- a/arch/x86/cpu/ivybridge/bd82x6x.c
+++ b/arch/x86/cpu/ivybridge/bd82x6x.c
@@ -90,6 +90,7 @@ int bd82x6x_init_pci_devices(void)
{
const void *blob = gd->fdt_blob;
struct pci_controller *hose;
+ struct x86_cpu_priv *cpu;
int sata_node;
hose = pci_bus_to_hose(0);
@@ -105,6 +106,11 @@ int bd82x6x_init_pci_devices(void)
bd82x6x_usb_ehci_init(PCH_EHCI1_DEV);
bd82x6x_usb_ehci_init(PCH_EHCI2_DEV);
+ cpu = calloc(1, sizeof(*cpu));
+ if (!cpu)
+ return -ENOMEM;
+ model_206ax_init(cpu);
+
return 0;
}