x86: fsp: Make hob command a sub-command to fsp
[oweals/u-boot.git] / arch / x86 / lib / interrupts.c
index 6bb22d25e8d8edd69f880abb2469ed6b6232e750..146ad11fb5373f3223d4ece682af0cf4ce4f8f83 100644 (file)
@@ -130,7 +130,7 @@ int do_irqinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        printf("Interrupt-Information:\n");
        printf("Nr  Routine   Arg       Count\n");
 
-       for (irq = 0; irq <= CONFIG_SYS_NUM_IRQS; irq++) {
+       for (irq = 0; irq < CONFIG_SYS_NUM_IRQS; irq++) {
                if (irq_handlers[irq].handler != NULL) {
                        printf("%02d  %08lx  %08lx  %d\n",
                                        irq,