ACPI: Obsolete FADT duty_offset and duty_width fields
After the obsoletion of Processor() it is necessary to provide _PTC package to define P_CNT IO address for clock throttling. The platforms touched here already emit empty _PTC to disable clock throttling. Change-Id: I0e84c8ccd2772c9b3d61f71b74324c8d28f4eefe Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74438 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
67c48a3677
commit
9ff9797ad7
|
@ -1689,6 +1689,10 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
|
|||
fadt->p_lvl2_lat = ACPI_FADT_C2_NOT_SUPPORTED;
|
||||
fadt->p_lvl3_lat = ACPI_FADT_C3_NOT_SUPPORTED;
|
||||
|
||||
/* Use CPU _PTC instead to provide P_CNT details. */
|
||||
fadt->duty_offset = 0;
|
||||
fadt->duty_width = 0;
|
||||
|
||||
fadt->preferred_pm_profile = acpi_get_preferred_pm_profile();
|
||||
|
||||
if (CONFIG(USE_PC_CMOS_ALTCENTURY))
|
||||
|
|
|
@ -31,9 +31,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
|||
fadt->pm2_cnt_len = 1;
|
||||
fadt->pm_tmr_len = 4;
|
||||
fadt->gpe0_blk_len = 16;
|
||||
/* P_CNT not supported */
|
||||
fadt->duty_offset = 0;
|
||||
fadt->duty_width = 0;
|
||||
|
||||
fadt->day_alrm = 0xd;
|
||||
fadt->mon_alrm = 0x00;
|
||||
fadt->iapc_boot_arch = ACPI_FADT_LEGACY_DEVICES | ACPI_FADT_8042;
|
||||
|
|
|
@ -31,9 +31,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
|||
fadt->pm2_cnt_len = 1;
|
||||
fadt->pm_tmr_len = 4;
|
||||
fadt->gpe0_blk_len = 16;
|
||||
/* P_CNT not supported */
|
||||
fadt->duty_offset = 0;
|
||||
fadt->duty_width = 0;
|
||||
|
||||
fadt->day_alrm = 0xd;
|
||||
fadt->mon_alrm = 0x00;
|
||||
fadt->iapc_boot_arch = ACPI_FADT_LEGACY_DEVICES | ACPI_FADT_8042;
|
||||
|
|
|
@ -44,8 +44,6 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
|||
else
|
||||
fadt->gpe0_blk_len = 2 * 8;
|
||||
|
||||
fadt->duty_offset = 0;
|
||||
fadt->duty_width = 0;
|
||||
fadt->day_alrm = 0xd;
|
||||
fadt->mon_alrm = 0x00;
|
||||
fadt->iapc_boot_arch = ACPI_FADT_LEGACY_DEVICES | ACPI_FADT_8042;
|
||||
|
|
Loading…
Reference in New Issue