summaryrefslogtreecommitdiff
path: root/src/arch/i386
diff options
context:
space:
mode:
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>2008-10-22 22:20:48 +0000
committerMarc Jones <marc.jones@amd.com>2008-10-22 22:20:48 +0000
commit9a9e61b7ec3f40fdf3716b95a0cfa2c695626dd0 (patch)
tree4a0e5385091764e10f152f0e6ab4089d35d35176 /src/arch/i386
parentea8724578e096e5d39fc49b17d63d2af0f76e537 (diff)
Fixes a off-by-one error when routing the IRQs. This led to IRQ15 not
getting assigned. Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de> Acked-by: Marc Jones <marc.jones@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3687 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/boot/pirq_routing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/i386/boot/pirq_routing.c
index df201492b2..6e3d9943c4 100644
--- a/src/arch/i386/boot/pirq_routing.c
+++ b/src/arch/i386/boot/pirq_routing.c
@@ -137,7 +137,7 @@ void pirq_routing_irqs(unsigned long addr)
/* yet not routed */
if (!pirq[link - 1]) {
- for (k = 2; k < 15; k++) {
+ for (k = 2; k <= 15; k++) {
if (!((bitmap >> k) & 1))
continue;