diff options
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r-- | src/soc/intel/baytrail/acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c index 75c28637ce..42e4b2616a 100644 --- a/src/soc/intel/baytrail/acpi.c +++ b/src/soc/intel/baytrail/acpi.c @@ -266,8 +266,8 @@ void generate_cpu_entries(const struct device *device) const struct pattrs *pattrs = pattrs_get(); for (core = 0; core < pattrs->num_cpus; core++) { - /* Generate processor \_SB.CPUx */ - acpigen_write_processor(core, 0, 0); + /* Generate Scope(\_SB) { Device(CPUx */ + acpigen_write_processor_device(core); /* Generate P-state tables */ generate_p_state_entries(core, pattrs->num_cpus); @@ -278,7 +278,7 @@ void generate_cpu_entries(const struct device *device) /* Generate T-state tables */ generate_t_state_entries(core, pattrs->num_cpus); - acpigen_pop_len(); + acpigen_write_processor_device_end(); } /* PPKG is usually used for thermal management |