soc/intel/baytrail: Make acpi_madt_irq_overrides() static
Change-Id: Id362e023358054df2c4511fd108c313da868306d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74325 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
69a13964ea
commit
71fd3becf0
|
@ -85,16 +85,6 @@ int acpi_sci_irq(void)
|
|||
return sci_irq;
|
||||
}
|
||||
|
||||
unsigned long acpi_fill_madt(unsigned long current)
|
||||
{
|
||||
/* IOAPIC */
|
||||
current += acpi_create_madt_ioapic_from_hw((acpi_madt_ioapic_t *)current, IO_APIC_ADDR);
|
||||
|
||||
current = acpi_madt_irq_overrides(current);
|
||||
|
||||
return current;
|
||||
}
|
||||
|
||||
static acpi_tstate_t soc_tss_table[] = {
|
||||
{ 100, 1000, 0, 0x00, 0 },
|
||||
{ 88, 875, 0, 0x1e, 0 },
|
||||
|
@ -286,7 +276,7 @@ void generate_cpu_entries(const struct device *device)
|
|||
acpigen_write_processor_cnot(pattrs->num_cpus);
|
||||
}
|
||||
|
||||
unsigned long acpi_madt_irq_overrides(unsigned long current)
|
||||
static unsigned long acpi_madt_irq_overrides(unsigned long current)
|
||||
{
|
||||
int sci_irq = acpi_sci_irq();
|
||||
acpi_madt_irqoverride_t *irqovr;
|
||||
|
@ -306,3 +296,13 @@ unsigned long acpi_madt_irq_overrides(unsigned long current)
|
|||
|
||||
return current;
|
||||
}
|
||||
|
||||
unsigned long acpi_fill_madt(unsigned long current)
|
||||
{
|
||||
/* IOAPIC */
|
||||
current += acpi_create_madt_ioapic_from_hw((acpi_madt_ioapic_t *)current, IO_APIC_ADDR);
|
||||
|
||||
current = acpi_madt_irq_overrides(current);
|
||||
|
||||
return current;
|
||||
}
|
||||
|
|
|
@ -6,6 +6,5 @@
|
|||
#include <acpi/acpi.h>
|
||||
|
||||
int acpi_sci_irq(void);
|
||||
unsigned long acpi_madt_irq_overrides(unsigned long current);
|
||||
|
||||
#endif /* _BAYTRAIL_ACPI_H_ */
|
||||
|
|
Loading…
Reference in New Issue