From 63d8fde896aef0cd29203b0f4d35a88cff749b9b Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 19 Apr 2024 19:13:18 +0200 Subject: soc/amd/common/amd_pci_util.h: assign 0 to PIN_A in pcie_swizzle_pin Explicitly assign a value of 0 to the first value of the pcie_swizzle_pin enum. This won't change the behavior, but clarifies that the actual values of the enum elements matter. Signed-off-by: Felix Held Change-Id: I21850e21f859f2079f804d4344a1a11856b27d90 Reviewed-on: https://review.coreboot.org/c/coreboot/+/82049 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/soc/amd/common/block/pci/pci_routing_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/amd/common/block/pci/pci_routing_info.c b/src/soc/amd/common/block/pci/pci_routing_info.c index ac7255348e..5d5f35524b 100644 --- a/src/soc/amd/common/block/pci/pci_routing_info.c +++ b/src/soc/amd/common/block/pci/pci_routing_info.c @@ -7,7 +7,7 @@ #include enum pcie_swizzle_pin { - PIN_A, + PIN_A = 0, PIN_B, PIN_C, PIN_D, -- cgit v1.2.3