From 2b7cd1d0d4fcf797866681c2edc807fe1e2bbd03 Mon Sep 17 00:00:00 2001 From: Richard Spiegel Date: Mon, 22 Oct 2018 14:39:37 -0700 Subject: soc/amd/stoneyridge: Fix 81+ characters lines There some files that do have at least 1 line over the 80 characters limit. Find and fix them. BUG=b:117950052 TEST=Build grunt. Change-Id: I1083a7559919e05a3e3a2dac99f571c161bb4c27 Signed-off-by: Richard Spiegel Reviewed-on: https://review.coreboot.org/29228 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/soc/amd/common/block/pci/amd_pci_util.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/soc/amd/common/block/pci') diff --git a/src/soc/amd/common/block/pci/amd_pci_util.c b/src/soc/amd/common/block/pci/amd_pci_util.c index 812760189a..983cead894 100644 --- a/src/soc/amd/common/block/pci/amd_pci_util.c +++ b/src/soc/amd/common/block/pci/amd_pci_util.c @@ -98,14 +98,15 @@ void write_pci_int_table(void) void write_pci_cfg_irqs(void) { struct device *dev = NULL; /* Our current device to route IRQs */ - struct device *target_dev = NULL; /* to bridge a device may be connected to */ - u16 int_pin = 0; /* Value of the INT_PIN register 0x3D */ - u16 target_pin = 0; /* Pin we will search our tables for */ - u16 int_line = 0; /* IRQ # read from PCI_INTR tbl and write to 3C */ + struct device *target_dev = NULL; /* the bridge a device may be + * connected to */ + u16 int_pin = 0; + u16 target_pin = 0; + u16 int_line = 0; u16 pci_intr_idx = 0; /* Index into PCI_INTR table, 0xC00/0xC01 */ - u8 bus = 0; /* A PCI Device Bus number */ - u16 devfn = 0; /* A PCI Device and Function number */ - u8 bridged_device = 0; /* This device is on a PCI bridge */ + u8 bus = 0; /* TODO: no longer used, remove it */ + u16 devfn = 0; + u8 bridged_device = 0; /* TODO: Remove this */ u32 i = 0; size_t limit; const struct irq_idx_name *idx_name; -- cgit v1.2.3