aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-07-16 13:26:44 -0700
committerFurquan Shaikh <furquan@google.com>2020-07-17 23:33:28 +0000
commitde4baffb6b8b9dd9b65779d1a25333986fbaf63f (patch)
treee1d3b5a43cc9139ab0502cb87c29531b6939ba68
parent03294a384906b0d710f1b968e11d75b139e2f4a9 (diff)
soc/amd/picasso: Add .scan_bus operation for ACP device
This change adds `.scan_bus` device operation for ACP device to allow mainboards to add devices under it. BUG=b:157708581 Change-Id: I088bf81d7c7c5f59ade1d2f0dd24e5fc2b1ff876 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43542 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/amd/picasso/acp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/acp.c b/src/soc/amd/picasso/acp.c
index 4efef186c9..89bdd4ed0a 100644
--- a/src/soc/amd/picasso/acp.c
+++ b/src/soc/amd/picasso/acp.c
@@ -116,6 +116,7 @@ static struct device_operations acp_ops = {
.enable_resources = pci_dev_enable_resources,
.init = init,
.ops_pci = &pci_dev_ops_pci,
+ .scan_bus = scan_static_bus,
.acpi_name = acp_acpi_name,
.acpi_fill_ssdt = acp_fill_ssdt,
};