acpi: Create a common method to add DmaProperty
Create a common method to add DmaProperty. BUG=b:259716145 TEST=Verified SSDT on google/osiris. Signed-off-by: Kapil Porwal <kapilporwal@google.com> Change-Id: I75b3f22ad29f90f3c3b251bd0d70bae9d75f71fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/70022 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Subrata Banik
parent
3fd1174e76
commit
ddc52a6481
@@ -588,4 +588,13 @@ void acpi_dp_write(struct acpi_dp *table);
|
||||
*/
|
||||
void acpi_device_write_pci_dev(const struct device *dev);
|
||||
|
||||
/*
|
||||
* Helper function to add DmaProperty to _DSD in the current scope.
|
||||
*
|
||||
* dsd - Pointer to a _DSD object.
|
||||
* Append to existing _DSD object if not NULL.
|
||||
* Create new _DSD object and flush it if NULL.
|
||||
*/
|
||||
void acpi_device_add_dma_property(struct acpi_dp *dsd);
|
||||
|
||||
#endif /* __ACPI_ACPI_DEVICE_H__ */
|
||||
|
Reference in New Issue
Block a user