From 91839eef5cb47ec82e9b9d824ac49d7edbff0534 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Fri, 22 Jan 2021 09:44:03 -0700 Subject: [PATCH] soc/amd/picasso/pcie_gpp: Add clarifying comment Each bridge can only have one device. BUG=b:170595019 BRANCH=zork TEST=none Signed-off-by: Raul E Rangel Change-Id: I7e476221dfcabc841cc1ed4bc4b1175c0652dcfe Reviewed-on: https://review.coreboot.org/c/coreboot/+/49841 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held Reviewed-by: Marshall Dawson --- src/soc/amd/picasso/pcie_gpp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/amd/picasso/pcie_gpp.c b/src/soc/amd/picasso/pcie_gpp.c index 8b6af4aa0f..1acd021c9c 100644 --- a/src/soc/amd/picasso/pcie_gpp.c +++ b/src/soc/amd/picasso/pcie_gpp.c @@ -153,6 +153,7 @@ static void acpigen_write_PRT(const struct device *dev) irq_index = calculate_irq(pci_routing, i); acpigen_write_package(4); + /* There is only one device attached to the bridge */ acpigen_write_dword(0x0000FFFF); acpigen_write_byte(i); acpigen_write_byte(0); /* Source: GSI */ @@ -176,6 +177,7 @@ static void acpigen_write_PRT(const struct device *dev) link_template[8] = 'A' + (irq_index % 8); acpigen_write_package(4); + /* There is only one device attached to the bridge */ acpigen_write_dword(0x0000FFFF); acpigen_write_byte(i); acpigen_emit_namestring(link_template); -- 2.11.4.GIT