summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-11-17 20:56:21 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-18 09:12:15 +0000
commit5a61cc5d22bd302dde5a9a4b5491fceebcb9b18d (patch)
tree52200f128ac435b3b5b34337e08e4dd6f0c82fab
parent0115606286da93582e8a8b2ac8b13b7143311fbc (diff)
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 <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/29675 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/cpu/qemu-x86/qemu.c2
1 files changed, 1 insertions, 1 deletions
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")
};