From b366bcbd292dea098bf1eb82e3a768a2640d5ee3 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 11 Sep 2022 13:19:16 +0200 Subject: mb/amd/*/irq_tables.c: Reformat code Signed-off-by: Elyes Haouas Change-Id: If6cdf02c56778da67b56afbb71f9f01107f23d2e Reviewed-on: https://review.coreboot.org/c/coreboot/+/67519 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/amd/parmer/irq_tables.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/mainboard/amd/parmer/irq_tables.c') 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__); -- cgit v1.2.3