MIPS: Netlogic: Make number of nodes configurable
There can be 1, 2 or 4 SoCs(nodes) in a multi-chip XLP board. Add an option for multi-chip boards in case of XLP, and make the number of nodes configurable. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Patchwork: http://patchwork.linux-mips.org/patch/4470 Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:

committed by
John Crispin

parent
77ae798f5b
commit
bb1e4bc5cd
@@ -8,7 +8,9 @@
|
||||
#ifndef __ASM_NETLOGIC_IRQ_H
|
||||
#define __ASM_NETLOGIC_IRQ_H
|
||||
|
||||
#define NR_IRQS 64
|
||||
#include <asm/mach-netlogic/multi-node.h>
|
||||
#define NR_IRQS (64 * NLM_NR_NODES)
|
||||
|
||||
#define MIPS_CPU_IRQ_BASE 0
|
||||
|
||||
#endif /* __ASM_NETLOGIC_IRQ_H */
|
||||
|
Reference in New Issue
Block a user