summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@amd.corp-partner.google.com>2018-10-22 14:39:37 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-11-07 16:45:35 +0000
commit2b7cd1d0d4fcf797866681c2edc807fe1e2bbd03 (patch)
tree59b572d6c5183f3ffd63fb7095cb3f098449df84 /src/soc/amd/common
parentc92ecaa4d65f80bfc0e91dbbdc74f47bb167a844 (diff)
downloadcoreboot-2b7cd1d0d4fcf797866681c2edc807fe1e2bbd03.tar.xz
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 <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/29228 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/pci/amd_pci_util.c15
1 files changed, 8 insertions, 7 deletions
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;