mb/prodrive/atlas: Remove the workaround for CLKREQ pins
[coreboot2.git] / src / cpu / intel / model_68x / model_68x_init.c
blob72d76d032e76c5c9205e506d5e28f416717f4fba
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <console/console.h>
4 #include <device/device.h>
5 #include <cpu/cpu.h>
6 #include <cpu/x86/mtrr.h>
7 #include <cpu/intel/microcode.h>
8 #include <cpu/x86/cache.h>
9 #include <cpu/x86/name.h>
11 static void model_68x_init(struct device *cpu)
13 char processor_name[49];
15 /* Turn on caching if we haven't already */
16 enable_cache();
18 /* Update the microcode */
19 intel_update_microcode_from_cbfs();
21 /* Print processor name */
22 fill_processor_name(processor_name);
23 printk(BIOS_INFO, "CPU: %s.\n", processor_name);
25 /* Setup MTRRs */
26 x86_setup_mtrrs();
27 x86_mtrr_check();
30 static struct device_operations cpu_dev_ops = {
31 .init = model_68x_init,
35 * Intel Celeron Processor Identification Information
36 * http://www.intel.com/design/celeron/qit/update.pdf
38 * Intel Pentium III Processor Identification and Package Information
39 * http://www.intel.com/design/pentiumiii/qit/update.pdf
41 * Intel Pentium III Processor Specification Update
42 * http://download.intel.com/design/intarch/specupdt/24445358.pdf
44 * Mobile Intel Pentium III/III-M Processor Specification Update
45 * http://download.intel.com/design/intarch/specupdt/24530663.pdf
47 static const struct cpu_device_id cpu_table[] = {
48 { X86_VENDOR_INTEL, 0x0680, CPUID_EXACT_MATCH_MASK },
49 /* PIII, cA2/cA2c/A2/BA2/PA2/MA2 */
50 { X86_VENDOR_INTEL, 0x0681, CPUID_EXACT_MATCH_MASK },
51 /* PIII/Celeron, cB0/cB0c/B0/BB0/PB0/MB0*/
52 { X86_VENDOR_INTEL, 0x0683, CPUID_EXACT_MATCH_MASK },
53 /* PIII/Celeron, cC0/C0/BC0/PC0/MC0 */
54 { X86_VENDOR_INTEL, 0x0686, CPUID_EXACT_MATCH_MASK },
55 /* PIII/Celeron, cD0/D0/BD0/PD0 */
56 { X86_VENDOR_INTEL, 0x068a, CPUID_EXACT_MATCH_MASK },
57 CPU_TABLE_END
60 static const struct cpu_driver driver __cpu_driver = {
61 .ops = &cpu_dev_ops,
62 .id_table = cpu_table,