soc/amd/picasso,stoneyridge/acpi: use define for RTC_DATE_ALARM
Cezanne already uses a define for this and it's better to define and use constants instead of magic values. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ifa4b3b3cdb161670128b284a3396fc5a85545608 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59586 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
@@ -92,7 +92,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||
fadt->p_lvl3_lat = ACPI_FADT_C3_NOT_SUPPORTED;
|
||||
fadt->duty_offset = 1; /* CLK_VAL bits 3:1 */
|
||||
fadt->duty_width = 3; /* CLK_VAL bits 3:1 */
|
||||
fadt->day_alrm = 0x0d;
|
||||
fadt->day_alrm = RTC_DATE_ALARM;
|
||||
fadt->mon_alrm = 0;
|
||||
fadt->iapc_boot_arch = cfg->fadt_boot_arch; /* legacy free default */
|
||||
fadt->res2 = 0; /* reserved, MUST be 0 ACPI 3.0 */
|
||||
|
Reference in New Issue
Block a user