summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-02-22 07:28:06 +0000
committerStefan Reinauer <stepan@openbios.org>2010-02-22 07:28:06 +0000
commit159b01213202f33e661f9125287b2b3056019dbf (patch)
tree7fdc5c5536967bca167c59b50f30ca98e7fd8076 /src/arch
parentde3206a7bebce99f11e753164cc4d46357bba96a (diff)
don't call verify_copy_pirq_routing_table() if it's not there.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5137 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/boot/pirq_routing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/i386/boot/pirq_routing.c
index 78e1dd1806..963df5cd78 100644
--- a/src/arch/i386/boot/pirq_routing.c
+++ b/src/arch/i386/boot/pirq_routing.c
@@ -93,7 +93,9 @@ unsigned long copy_pirq_routing_table(unsigned long addr)
printk_info("Copying Interrupt Routing Table to 0x%08lx... ", addr);
memcpy((void *)addr, &intel_irq_routing_table, intel_irq_routing_table.size);
printk_info("done.\n");
+#if CONFIG_DEBUG
verify_copy_pirq_routing_table(addr);
+#endif
pirq_routing_irqs(addr);
return addr + intel_irq_routing_table.size;
}