summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/qemu/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/qemu/cpu.c')
-rw-r--r--arch/x86/cpu/qemu/cpu.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/cpu/qemu/cpu.c b/arch/x86/cpu/qemu/cpu.c
index a4bf53d..a1b70c6 100644
--- a/arch/x86/cpu/qemu/cpu.c
+++ b/arch/x86/cpu/qemu/cpu.c
@@ -13,16 +13,6 @@
DECLARE_GLOBAL_DATA_PTR;
-int cpu_qemu_bind(struct udevice *dev)
-{
- struct cpu_platdata *plat = dev_get_parent_platdata(dev);
-
- plat->cpu_id = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
- "intel,apic-id", -1);
-
- return 0;
-}
-
int cpu_qemu_get_desc(struct udevice *dev, char *buf, int size)
{
if (size < CPU_MAX_NAME_LEN)
@@ -52,6 +42,5 @@ U_BOOT_DRIVER(cpu_qemu_drv) = {
.name = "cpu_qemu",
.id = UCLASS_CPU,
.of_match = cpu_qemu_ids,
- .bind = cpu_qemu_bind,
.ops = &cpu_qemu_ops,
};