summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/stoneyridge/acpi.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-11-18 20:41:40 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-11-24 17:03:56 +0000
commit72b92c9207b8603693f64a4563fb5d14de95db05 (patch)
tree453df0540d0e0b651b47a003cdc060f30492ea81 /src/soc/amd/stoneyridge/acpi.c
parent7f61d41c1b8e747c19d40c68291020035493678d (diff)
downloadcoreboot-72b92c9207b8603693f64a4563fb5d14de95db05.tar.gz
coreboot-72b92c9207b8603693f64a4563fb5d14de95db05.tar.bz2
coreboot-72b92c9207b8603693f64a4563fb5d14de95db05.zip
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>
Diffstat (limited to 'src/soc/amd/stoneyridge/acpi.c')
-rw-r--r--src/soc/amd/stoneyridge/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/acpi.c b/src/soc/amd/stoneyridge/acpi.c
index b2de89e016fa..918ba5e6d736 100644
--- a/src/soc/amd/stoneyridge/acpi.c
+++ b/src/soc/amd/stoneyridge/acpi.c
@@ -84,7 +84,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; /* Not supported */
fadt->iapc_boot_arch = FADT_BOOT_ARCH; /* See table 5-10 */
fadt->res2 = 0; /* reserved, MUST be 0 ACPI 3.0 */