summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/parmer
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-09-11 13:19:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-09-12 15:32:36 +0000
commitb366bcbd292dea098bf1eb82e3a768a2640d5ee3 (patch)
tree31586bb31b77800ca11eb260882823226807b119 /src/mainboard/amd/parmer
parentf25c11236a68f4e850f1855e84de1d3c8ef872b7 (diff)
mb/amd/*/irq_tables.c: Reformat code
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: If6cdf02c56778da67b56afbb71f9f01107f23d2e Reviewed-on: https://review.coreboot.org/c/coreboot/+/67519 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/amd/parmer')
-rw-r--r--src/mainboard/amd/parmer/irq_tables.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mainboard/amd/parmer/irq_tables.c b/src/mainboard/amd/parmer/irq_tables.c
index 4f239948ca..e5d576a349 100644
--- a/src/mainboard/amd/parmer/irq_tables.c
+++ b/src/mainboard/amd/parmer/irq_tables.c
@@ -63,10 +63,9 @@ unsigned long write_pirq_routing_table(unsigned long addr)
pirq_info = (void *)(&pirq->checksum + 1);
slot_num = 0;
- /* pci bridge */
+ /* PCI bridge */
write_pirq_info(pirq_info, 0, PCI_DEVFN(0x14, 4),
- 0x1, 0xdef8, 0x2, 0xdef8, 0x3, 0xdef8, 0x4, 0xdef8, 0,
- 0);
+ 0x1, 0xdef8, 0x2, 0xdef8, 0x3, 0xdef8, 0x4, 0xdef8, 0, 0);
pirq_info++;
slot_num++;
@@ -78,9 +77,8 @@ unsigned long write_pirq_routing_table(unsigned long addr)
sum = pirq->checksum - sum;
- if (sum != pirq->checksum) {
+ if (sum != pirq->checksum)
pirq->checksum = sum;
- }
printk(BIOS_INFO, "%s done.\n", __func__);