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
This commit is contained in:
Jens Rottmann 2008-10-22 22:20:48 +00:00 committed by Marc Jones
parent ea8724578e
commit 9a9e61b7ec
1 changed files with 1 additions and 1 deletions

View File

@ -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;