summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2019-02-08 15:19:20 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-15 16:24:02 +0000
commit8ca2af1c0d3a529bc7a9e6bd8bae16f9b941d42d (patch)
tree799003cfe2006faac092292cccb66c166ebdd44c /src/southbridge/nvidia
parent223ddc298a1a8e25a493987d84c629ed152821d1 (diff)
src: Use macro `ACPI_FADT_LEGACY_FREE`
Replace all instances, where 0 is used by the macro/define `ACPI_FADT_LEGACY_FREE`. Change-Id: I226b334620e0cdafc7639c7a76ea3a523ae53a74 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/31289 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/southbridge/nvidia')
-rw-r--r--src/southbridge/nvidia/ck804/fadt.c2
-rw-r--r--src/southbridge/nvidia/mcp55/fadt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/nvidia/ck804/fadt.c b/src/southbridge/nvidia/ck804/fadt.c
index ee9db2f671..fb4cbb6fcc 100644
--- a/src/southbridge/nvidia/ck804/fadt.c
+++ b/src/southbridge/nvidia/ck804/fadt.c
@@ -82,7 +82,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
fadt->day_alrm = 0x7d;
fadt->mon_alrm = 0x7e;
fadt->century = 0x32;
- fadt->iapc_boot_arch = 0;
+ fadt->iapc_boot_arch = ACPI_FADT_LEGACY_FREE;
fadt->flags = 0xa5;
#ifdef LONG_FADT
diff --git a/src/southbridge/nvidia/mcp55/fadt.c b/src/southbridge/nvidia/mcp55/fadt.c
index 8064b1258a..f1d6e9da1f 100644
--- a/src/southbridge/nvidia/mcp55/fadt.c
+++ b/src/southbridge/nvidia/mcp55/fadt.c
@@ -93,7 +93,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
fadt->mon_alrm = 0x7e;
fadt->century = 0x32;
- fadt->iapc_boot_arch = 0x0;
+ fadt->iapc_boot_arch = ACPI_FADT_LEGACY_FREE;
fadt->flags = 0x4a5;
fadt->reset_reg.space_id = 0;