summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-04-07 16:38:32 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-01 06:11:58 +0000
commitc98f2eacfcf05cdf9d98f4b62733108a0a36cdbb (patch)
tree9b575a1bbfb206d2f6213ba4d54bd26c6ab55c63
parent7724f1142ee5c71c3df6c3a45af6d9da3f0798b5 (diff)
sb/intel/common/{madt,rcba_pirq}.c: Convert to 96 characters line length
Change-Id: I62a213013d9008d8a4a22b5908b7fc7d1b663c4b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40258 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/southbridge/intel/common/madt.c3
-rw-r--r--src/southbridge/intel/common/rcba_pirq.c6
2 files changed, 3 insertions, 6 deletions
diff --git a/src/southbridge/intel/common/madt.c b/src/southbridge/intel/common/madt.c
index 338527091d..d425a74366 100644
--- a/src/southbridge/intel/common/madt.c
+++ b/src/southbridge/intel/common/madt.c
@@ -11,8 +11,7 @@ unsigned long acpi_fill_madt(unsigned long current)
current = acpi_create_madt_lapics(current);
/* IOAPIC */
- current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *) current,
- 2, IO_APIC_ADDR, 0);
+ current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *) current, 2, IO_APIC_ADDR, 0);
/* INT_SRC_OVR */
current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *)
diff --git a/src/southbridge/intel/common/rcba_pirq.c b/src/southbridge/intel/common/rcba_pirq.c
index 620d9fae41..e1da606cf5 100644
--- a/src/southbridge/intel/common/rcba_pirq.c
+++ b/src/southbridge/intel/common/rcba_pirq.c
@@ -16,8 +16,7 @@ static const u32 pirq_dir_route_reg[MAX_SLOT - MIN_SLOT + 1] = {
D26IR, D27IR, D28IR, D29IR, D30IR, D31IR,
};
-enum pirq intel_common_map_pirq(const struct device *dev,
- const enum pci_pin pci_pin)
+enum pirq intel_common_map_pirq(const struct device *dev, const enum pci_pin pci_pin)
{
u8 slot = PCI_SLOT(dev->path.pci.devfn);
u8 shift = 4 * (pci_pin - PCI_INT_A);
@@ -25,8 +24,7 @@ enum pirq intel_common_map_pirq(const struct device *dev,
u16 reg;
if (pci_pin < PCI_INT_A || pci_pin > PCI_INT_D) {
- printk(BIOS_ERR,
- "ACPI_PIRQ_GEN: Slot %d PCI pin %d out of bounds\n",
+ printk(BIOS_ERR, "ACPI_PIRQ_GEN: Slot %d PCI pin %d out of bounds\n",
slot, pci_pin);
return PIRQ_NONE;
}