summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82870/ioapic.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-03-07 13:05:14 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-05-26 14:58:51 +0000
commitbfc255a12146a364f0d08ee9818af715a485a579 (patch)
tree9c0f141c655e1f6fc6002d1f1060260f2623f241 /src/southbridge/intel/i82870/ioapic.c
parenta1b19de44768d2e2ea483fe7f59de66eee3a3a49 (diff)
src/sb: Use 'print("%s...", __func__)'
Change-Id: Ie0d845d3e501ed5ebeef1997944445d31768e410 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39373 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/i82870/ioapic.c')
-rw-r--r--src/southbridge/intel/i82870/ioapic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82870/ioapic.c b/src/southbridge/intel/i82870/ioapic.c
index 6be212f75c..4763703644 100644
--- a/src/southbridge/intel/i82870/ioapic.c
+++ b/src/southbridge/intel/i82870/ioapic.c
@@ -72,13 +72,13 @@ static void p64h2_ioapic_init(struct device *dev)
*pWindowRegister = (*pWindowRegister & ~(0x0f << 24)) | apic_id; // Set the ID
if ((*pWindowRegister & (0x0f << 24)) != apic_id)
- die("p64h2_ioapic_init failed");
+ die("%s failed", __func__);
*pIndexRegister = 3; // Select Boot Configuration register
*pWindowRegister |= 1; // Use Processor System Bus to deliver interrupts
if (!(*pWindowRegister & 1))
- die("p64h2_ioapic_init failed");
+ die("%s failed", __func__);
}
static struct device_operations ioapic_ops = {