diff options
author | Jens Rottmann <JRottmann@LiPPERTEmbedded.de> | 2008-10-22 22:20:48 +0000 |
---|---|---|
committer | Marc Jones <marc.jones@amd.com> | 2008-10-22 22:20:48 +0000 |
commit | 9a9e61b7ec3f40fdf3716b95a0cfa2c695626dd0 (patch) | |
tree | 4a0e5385091764e10f152f0e6ab4089d35d35176 /src/arch | |
parent | ea8724578e096e5d39fc49b17d63d2af0f76e537 (diff) | |
download | coreboot-staging-9a9e61b7ec3f40fdf3716b95a0cfa2c695626dd0.zip coreboot-staging-9a9e61b7ec3f40fdf3716b95a0cfa2c695626dd0.tar.gz |
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')
-rw-r--r-- | src/arch/i386/boot/pirq_routing.c | 2 |
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 df20149..6e3d994 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; |