soc/intel/xeon_sp: Remove unused madt setup function
Change-Id: I248974c5a88768ee12f63fa77f3fa67a72ea510e Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68907 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
This commit is contained in:
parent
48c825ebd1
commit
6e86f77cda
|
@ -217,19 +217,3 @@ void soc_power_states_generation(int core, int cores_per_package)
|
||||||
/* Fix package length */
|
/* Fix package length */
|
||||||
acpigen_pop_len();
|
acpigen_pop_len();
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long xeonsp_acpi_create_madt_lapics(unsigned long current)
|
|
||||||
{
|
|
||||||
struct device *cpu;
|
|
||||||
uint8_t num_cpus = 0;
|
|
||||||
|
|
||||||
for (cpu = all_devices; cpu; cpu = cpu->next) {
|
|
||||||
if (!is_enabled_cpu(cpu))
|
|
||||||
continue;
|
|
||||||
current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current,
|
|
||||||
num_cpus, cpu->path.apic.apic_id);
|
|
||||||
num_cpus++;
|
|
||||||
}
|
|
||||||
|
|
||||||
return current;
|
|
||||||
}
|
|
||||||
|
|
|
@ -21,6 +21,5 @@ typedef struct {
|
||||||
unsigned long northbridge_write_acpi_tables(const struct device *device,
|
unsigned long northbridge_write_acpi_tables(const struct device *device,
|
||||||
unsigned long current, struct acpi_rsdp *rsdp);
|
unsigned long current, struct acpi_rsdp *rsdp);
|
||||||
void uncore_inject_dsdt(const struct device *device);
|
void uncore_inject_dsdt(const struct device *device);
|
||||||
unsigned long xeonsp_acpi_create_madt_lapics(unsigned long current);
|
|
||||||
|
|
||||||
#endif /* _SOC_ACPI_H_ */
|
#endif /* _SOC_ACPI_H_ */
|
||||||
|
|
|
@ -148,19 +148,3 @@ void uncore_inject_dsdt(const struct device *device)
|
||||||
void soc_power_states_generation(int core, int cores_per_package)
|
void soc_power_states_generation(int core, int cores_per_package)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long xeonsp_acpi_create_madt_lapics(unsigned long current)
|
|
||||||
{
|
|
||||||
struct device *cpu;
|
|
||||||
uint8_t num_cpus = 0;
|
|
||||||
|
|
||||||
for (cpu = all_devices; cpu; cpu = cpu->next) {
|
|
||||||
if (!is_enabled_cpu(cpu))
|
|
||||||
continue;
|
|
||||||
current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current,
|
|
||||||
num_cpus, cpu->path.apic.apic_id);
|
|
||||||
num_cpus++;
|
|
||||||
}
|
|
||||||
|
|
||||||
return current;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue