summaryrefslogtreecommitdiff
path: root/src/mainboard/elmex/pcm205400
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-09-10 11:38:57 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:00:57 +0000
commitfc15ca44f41387f7dbde7fd7d0284653ece39917 (patch)
treef17f1dcb78a869f578aca3a794ba0cbfad27b288 /src/mainboard/elmex/pcm205400
parentc2423e498dc4e26fe8102a5476d406ba647fcd8b (diff)
mb/elmex: Drop unneeded empty lines
Change-Id: I6dc9f153270fe501d53ab44c902401893aacf1b9 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45242 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/elmex/pcm205400')
-rw-r--r--src/mainboard/elmex/pcm205400/irq_tables.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mainboard/elmex/pcm205400/irq_tables.c b/src/mainboard/elmex/pcm205400/irq_tables.c
index 5947b7a361..398594f828 100644
--- a/src/mainboard/elmex/pcm205400/irq_tables.c
+++ b/src/mainboard/elmex/pcm205400/irq_tables.c
@@ -1,13 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-
#include <console/console.h>
#include <device/pci_def.h>
#include <string.h>
#include <stdint.h>
#include <arch/pirq_routing.h>
-
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
u8 link2, u16 bitmap2, u8 link3, u16 bitmap3,
@@ -29,7 +27,6 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
unsigned long write_pirq_routing_table(unsigned long addr)
{
-
struct irq_routing_table *pirq;
struct irq_info *pirq_info;
u32 slot_num;
@@ -66,19 +63,14 @@ unsigned long write_pirq_routing_table(unsigned long addr)
pirq_info = (void *)(&pirq->checksum + 1);
slot_num = 0;
-
/* pci bridge */
write_pirq_info(pirq_info, 0, PCI_DEVFN(0x14, 4),
0x1, 0xdef8, 0x2, 0xdef8, 0x3, 0xdef8, 0x4, 0xdef8, 0,
0);
pirq_info++;
-
-
slot_num++;
-
-
pirq->size = 32 + 16 * slot_num;
for (i = 0; i < pirq->size; i++)
@@ -93,5 +85,4 @@ unsigned long write_pirq_routing_table(unsigned long addr)
printk(BIOS_INFO, "%s done.\n", __func__);
return (unsigned long)pirq_info;
-
}