mb,soc/intel: Rename acpi_fill_in_fadt() to acpi_fill_fadt()

Change-Id: I9025ca3b6b438e5f9a790076fc84460342362fc2
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41919
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2020-05-30 18:02:32 +03:00 committed by Patrick Georgi
parent 4812cf96c2
commit 4164476dfc
22 changed files with 17 additions and 22 deletions

View File

@ -222,7 +222,7 @@
<li>Add the acpi_create_fadt routine
<ol type="I">
<li>fill in the ACPI header</li>
<li>Call the acpi_fill_in_fadt routine</li>
<li>Call the acpi_fill_fadt routine</li>
</ol>
</li>
</ol>

View File

@ -667,7 +667,7 @@ Use the following steps to debug the call to TempRamInit:
</li>
<li>Create a acpi.c module:
<ol type="A">
<li>Add the acpi_fill_in_fadt routine and initialize the values above</li>
<li>Add the acpi_fill_fadt routine and initialize the values above</li>
</ol>
</li>
</ol>

View File

@ -24,7 +24,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
motherboard_fill_fadt(fadt);
header->checksum =

View File

@ -27,7 +27,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
header->checksum = acpi_checksum((void *) fadt, header->length);
}

View File

@ -27,7 +27,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
header->checksum = acpi_checksum((void *) fadt, header->length);
}

View File

@ -27,7 +27,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
header->checksum = acpi_checksum((void *) fadt, header->length);
}

View File

@ -27,7 +27,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
header->checksum = acpi_checksum((void *) fadt, header->length);
}

View File

@ -19,7 +19,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
header->asl_compiler_revision = asl_revision;
/* Fill in SoC specific values */
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
header->checksum = acpi_checksum((void *) fadt, header->length);
}

View File

@ -27,7 +27,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
header->checksum = acpi_checksum((void *) fadt, header->length);
}

View File

@ -27,7 +27,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
header->checksum = acpi_checksum((void *) fadt, header->length);
}

View File

@ -24,7 +24,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
motherboard_fill_fadt(fadt);
header->checksum =

View File

@ -25,7 +25,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
fadt->x_dsdt_l = (unsigned long)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
motherboard_fill_fadt(fadt);
header->checksum = acpi_checksum((void *)fadt, header->length);

View File

@ -27,7 +27,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
fadt->x_dsdt_l = (u32)dsdt;
fadt->x_dsdt_h = 0;
acpi_fill_in_fadt(fadt);
acpi_fill_fadt(fadt);
header->checksum = acpi_checksum((void *)fadt, header->length);
}

View File

@ -123,7 +123,7 @@ unsigned long acpi_fill_mcfg(unsigned long current)
return current;
}
void acpi_fill_in_fadt(acpi_fadt_t *fadt)
void acpi_fill_fadt(acpi_fadt_t *fadt)
{
const uint16_t pmbase = ACPI_BASE_ADDRESS;

View File

@ -6,7 +6,6 @@
#include <acpi/acpi.h>
#include <soc/nvs.h>
void acpi_fill_in_fadt(acpi_fadt_t *fadt);
unsigned long acpi_madt_irq_overrides(unsigned long current);
void acpi_init_gnvs(global_nvs_t *gnvs);

View File

@ -127,7 +127,7 @@ unsigned long acpi_fill_mcfg(unsigned long current)
return current;
}
void acpi_fill_in_fadt(acpi_fadt_t *fadt)
void acpi_fill_fadt(acpi_fadt_t *fadt)
{
const uint16_t pmbase = ACPI_BASE_ADDRESS;

View File

@ -7,7 +7,6 @@
#include <soc/nvs.h>
void acpi_create_serialio_ssdt(acpi_header_t *ssdt);
void acpi_fill_in_fadt(acpi_fadt_t *fadt);
unsigned long acpi_madt_irq_overrides(unsigned long current);
void acpi_init_gnvs(global_nvs_t *gnvs);
void southcluster_inject_dsdt(const struct device *device);

View File

@ -179,7 +179,7 @@ unsigned long acpi_fill_mcfg(unsigned long current)
return current;
}
void acpi_fill_in_fadt(acpi_fadt_t *fadt)
void acpi_fill_fadt(acpi_fadt_t *fadt)
{
const uint16_t pmbase = ACPI_BASE_ADDRESS;

View File

@ -12,7 +12,6 @@
#define PSS_LATENCY_TRANSITION 10
#define PSS_LATENCY_BUSMASTER 10
void acpi_fill_in_fadt(acpi_fadt_t *fadt);
unsigned long acpi_madt_irq_overrides(unsigned long current);
void acpi_init_gnvs(global_nvs_t *gnvs);
unsigned long northbridge_write_acpi_tables(const struct device *dev,

View File

@ -16,7 +16,7 @@ unsigned long acpi_fill_mcfg(unsigned long current)
return current;
}
void acpi_fill_in_fadt(acpi_fadt_t *fadt)
void acpi_fill_fadt(acpi_fadt_t *fadt)
{
struct device *dev = pcidev_on_root(PCI_DEVICE_NUMBER_QNC_LPC,
PCI_FUNCTION_NUMBER_QNC_LPC);

View File

@ -6,6 +6,5 @@
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
void acpi_fill_in_fadt(acpi_fadt_t *fadt);
#endif /* _SOC_ACPI_H_ */

View File

@ -12,7 +12,6 @@
#define PSS_LATENCY_TRANSITION 10
#define PSS_LATENCY_BUSMASTER 10
void acpi_fill_in_fadt(acpi_fadt_t *fadt);
unsigned long acpi_madt_irq_overrides(unsigned long current);
void southbridge_inject_dsdt(const struct device *device);
unsigned long southbridge_write_acpi_tables(const struct device *device,