acpi: Move PCI functions to separate file
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: Idc96b99da9f9037267c0bec2c839014b13ceb8cc Reviewed-on: https://review.coreboot.org/c/coreboot/+/51106 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Lance Zhao Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
740cd31858
commit
d40a4c2bb4
@@ -394,8 +394,6 @@ void acpigen_write_return_byte(uint8_t arg);
|
||||
void acpigen_write_upc(enum acpi_upc_type type);
|
||||
void acpigen_write_pld(const struct acpi_pld *pld);
|
||||
void acpigen_write_ADR(uint64_t adr);
|
||||
void acpigen_write_ADR_pci_devfn(pci_devfn_t devfn);
|
||||
void acpigen_write_ADR_pci_device(const struct device *dev);
|
||||
struct soundwire_address;
|
||||
void acpigen_write_ADR_soundwire_device(const struct soundwire_address *address);
|
||||
void acpigen_write_create_byte_field(uint8_t op, size_t byte_offset, const char *name);
|
||||
|
13
src/include/acpi/acpigen_pci.h
Normal file
13
src/include/acpi/acpigen_pci.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef ACPIGEN_PCI_H
|
||||
#define ACPIGEN_PCI_H
|
||||
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pci_type.h>
|
||||
|
||||
void acpigen_write_ADR_pci_devfn(pci_devfn_t devfn);
|
||||
void acpigen_write_ADR_pci_device(const struct device *dev);
|
||||
|
||||
#endif /* ACPIGEN_PCI_H */
|
Reference in New Issue
Block a user