From 5a61cc5d22bd302dde5a9a4b5491fceebcb9b18d Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Sat, 17 Nov 2018 20:56:21 +0100 Subject: [PATCH] cpu/qemu-x86: Fix CPU driver There's a typo in the cpu driver causing it to always use the weak implementation defined in the devicetree instead of the real implementation. Tested on qemu-q35, the CPU driver contains valid values. Change-Id: I4a6bb447bfdb3df6053c0df8be9d7c6aa8f689be Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/29675 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Patrick Georgi --- src/cpu/qemu-x86/qemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/qemu-x86/qemu.c b/src/cpu/qemu-x86/qemu.c index c005bf7a1d..f250698c89 100644 --- a/src/cpu/qemu-x86/qemu.c +++ b/src/cpu/qemu-x86/qemu.c @@ -35,6 +35,6 @@ static const struct cpu_driver driver __cpu_driver = { .id_table = cpu_table, }; -struct chip_operations cpu_x86_qemu_ops = { +struct chip_operations cpu_qemu_x86_ops = { CHIP_NAME("QEMU x86 CPU") };