diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-06-02 03:34:43 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-06-07 21:53:33 +0000 |
commit | 02fd15dbcf02e8bc4de8c98aa6f4d44440661365 (patch) | |
tree | 019aa6048e83aabf0f6c7c3ace3e04d3ad21b6c7 | |
parent | 1edf8b77e02116cd01038cc17e42e2ea1a94c7f1 (diff) |
acpi: Rename motherboard_fill_fadt() to mainboard_fill_fadt()
The prefix mainboard_ was used everywhere else.
Change-Id: Ie576fd47301aa484cb1396e0c6f7260b7698af4d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42007
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r-- | src/acpi/acpi.c | 4 | ||||
-rw-r--r-- | src/include/acpi/acpi.h | 2 | ||||
-rw-r--r-- | src/mainboard/facebook/fbg1701/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/auron/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/jecht/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/rambi/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/intel/harcuvar/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/intel/strago/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/intel/wtm2/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/ocp/tiogapass/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/portwell/m107/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/protectli/vault_bsw/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/scaleway/tagada/acpi_tables.c | 2 |
13 files changed, 14 insertions, 14 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index 2f4a2bb675..fefa7bf7ec 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -1222,7 +1222,7 @@ void acpi_write_bert(acpi_bert_t *bert, uintptr_t region, size_t length) #if CONFIG(COMMON_FADT) __weak void soc_fill_fadt(acpi_fadt_t *fadt) { } -__weak void motherboard_fill_fadt(acpi_fadt_t *fadt) { } +__weak void mainboard_fill_fadt(acpi_fadt_t *fadt) { } void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) { @@ -1261,7 +1261,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) acpi_fill_fadt(fadt); soc_fill_fadt(fadt); - motherboard_fill_fadt(fadt); + mainboard_fill_fadt(fadt); header->checksum = acpi_checksum((void *) fadt, header->length); diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index 57109b4d5f..cd99899164 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -879,7 +879,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt); void acpi_fill_fadt(acpi_fadt_t *fadt); void soc_fill_fadt(acpi_fadt_t *fadt); -void motherboard_fill_fadt(acpi_fadt_t *fadt); +void mainboard_fill_fadt(acpi_fadt_t *fadt); void update_ssdt(void *ssdt); void update_ssdtx(void *ssdtx, int i); diff --git a/src/mainboard/facebook/fbg1701/acpi_tables.c b/src/mainboard/facebook/fbg1701/acpi_tables.c index 8492704b74..e98df1460d 100644 --- a/src/mainboard/facebook/fbg1701/acpi_tables.c +++ b/src/mainboard/facebook/fbg1701/acpi_tables.c @@ -38,7 +38,7 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; fadt->iapc_boot_arch &= ~ACPI_FADT_8042; diff --git a/src/mainboard/google/auron/acpi_tables.c b/src/mainboard/google/auron/acpi_tables.c index ce21cb0209..4c72f3e0e6 100644 --- a/src/mainboard/google/auron/acpi_tables.c +++ b/src/mainboard/google/auron/acpi_tables.c @@ -35,7 +35,7 @@ unsigned long acpi_fill_madt(unsigned long current) return acpi_madt_irq_overrides(current); } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; } diff --git a/src/mainboard/google/jecht/acpi_tables.c b/src/mainboard/google/jecht/acpi_tables.c index 4dd6d49100..c566d844ef 100644 --- a/src/mainboard/google/jecht/acpi_tables.c +++ b/src/mainboard/google/jecht/acpi_tables.c @@ -37,7 +37,7 @@ unsigned long acpi_fill_madt(unsigned long current) return acpi_madt_irq_overrides(current); } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; } diff --git a/src/mainboard/google/rambi/acpi_tables.c b/src/mainboard/google/rambi/acpi_tables.c index 9b91266406..c336d53d23 100644 --- a/src/mainboard/google/rambi/acpi_tables.c +++ b/src/mainboard/google/rambi/acpi_tables.c @@ -41,7 +41,7 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; } diff --git a/src/mainboard/intel/harcuvar/acpi_tables.c b/src/mainboard/intel/harcuvar/acpi_tables.c index e03ec0cdca..b939a813a6 100644 --- a/src/mainboard/intel/harcuvar/acpi_tables.c +++ b/src/mainboard/intel/harcuvar/acpi_tables.c @@ -23,7 +23,7 @@ void acpi_create_gnvs(global_nvs_t *gnvs) gnvs->tpmp = 0; } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER; } diff --git a/src/mainboard/intel/strago/acpi_tables.c b/src/mainboard/intel/strago/acpi_tables.c index eec4790c64..8e26d3ce8f 100644 --- a/src/mainboard/intel/strago/acpi_tables.c +++ b/src/mainboard/intel/strago/acpi_tables.c @@ -43,7 +43,7 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; } diff --git a/src/mainboard/intel/wtm2/acpi_tables.c b/src/mainboard/intel/wtm2/acpi_tables.c index 6e56cf042d..5c7e13ed1b 100644 --- a/src/mainboard/intel/wtm2/acpi_tables.c +++ b/src/mainboard/intel/wtm2/acpi_tables.c @@ -35,7 +35,7 @@ unsigned long acpi_fill_madt(unsigned long current) return acpi_madt_irq_overrides(current); } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; } diff --git a/src/mainboard/ocp/tiogapass/acpi_tables.c b/src/mainboard/ocp/tiogapass/acpi_tables.c index 250ccad0a1..85372e5606 100644 --- a/src/mainboard/ocp/tiogapass/acpi_tables.c +++ b/src/mainboard/ocp/tiogapass/acpi_tables.c @@ -10,7 +10,7 @@ void acpi_create_gnvs(global_nvs_t *gnvs) acpi_init_gnvs(gnvs); } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER; } diff --git a/src/mainboard/portwell/m107/acpi_tables.c b/src/mainboard/portwell/m107/acpi_tables.c index 8492704b74..e98df1460d 100644 --- a/src/mainboard/portwell/m107/acpi_tables.c +++ b/src/mainboard/portwell/m107/acpi_tables.c @@ -38,7 +38,7 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; fadt->iapc_boot_arch &= ~ACPI_FADT_8042; diff --git a/src/mainboard/protectli/vault_bsw/acpi_tables.c b/src/mainboard/protectli/vault_bsw/acpi_tables.c index 9ecb5ac0b0..1724c71aec 100644 --- a/src/mainboard/protectli/vault_bsw/acpi_tables.c +++ b/src/mainboard/protectli/vault_bsw/acpi_tables.c @@ -28,7 +28,7 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; fadt->iapc_boot_arch = ACPI_FADT_LEGACY_DEVICES; diff --git a/src/mainboard/scaleway/tagada/acpi_tables.c b/src/mainboard/scaleway/tagada/acpi_tables.c index e03ec0cdca..b939a813a6 100644 --- a/src/mainboard/scaleway/tagada/acpi_tables.c +++ b/src/mainboard/scaleway/tagada/acpi_tables.c @@ -23,7 +23,7 @@ void acpi_create_gnvs(global_nvs_t *gnvs) gnvs->tpmp = 0; } -void motherboard_fill_fadt(acpi_fadt_t *fadt) +void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER; } |