1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2019 Google LLC
9 #include <asm/cpu_common.h>
10 #include <asm/cpu_x86.h>
12 static int apl_get_info(const struct udevice *dev, struct cpu_info *info)
14 return cpu_intel_get_info(info, INTEL_BCLK_MHZ);
17 static const struct cpu_ops cpu_x86_apl_ops = {
18 .get_desc = cpu_x86_get_desc,
19 .get_info = apl_get_info,
20 .get_count = cpu_x86_get_count,
21 .get_vendor = cpu_x86_get_vendor,
24 static const struct udevice_id cpu_x86_apl_ids[] = {
25 { .compatible = "intel,apl-cpu" },
29 U_BOOT_DRIVER(cpu_x86_apl_drv) = {
30 .name = "cpu_x86_apl",
32 .of_match = cpu_x86_apl_ids,
34 .ops = &cpu_x86_apl_ops,
35 .flags = DM_FLAG_PRE_RELOC,