Commit 4e611091 authored by Rob Herring's avatar Rob Herring

ARM: pxa: remove NR_IRQS

Remove NR_IRQS and add a per machine .nr_irqs setting.
Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
parent 8661fb92
...@@ -150,6 +150,7 @@ MACHINE_START(CAPC7117, ...@@ -150,6 +150,7 @@ MACHINE_START(CAPC7117,
"Embedian CAPC-7117 evaluation kit based on the MXM-8x10 CoM") "Embedian CAPC-7117 evaluation kit based on the MXM-8x10 CoM")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -853,6 +853,7 @@ static void __init cm_x300_fixup(struct tag *tags, char **cmdline, ...@@ -853,6 +853,7 @@ static void __init cm_x300_fixup(struct tag *tags, char **cmdline,
MACHINE_START(CM_X300, "CM-X300 module") MACHINE_START(CM_X300, "CM-X300 module")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -310,6 +310,7 @@ MACHINE_START(COLIBRI, "Toradex Colibri PXA270") ...@@ -310,6 +310,7 @@ MACHINE_START(COLIBRI, "Toradex Colibri PXA270")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = colibri_pxa270_init, .init_machine = colibri_pxa270_init,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
...@@ -320,6 +321,7 @@ MACHINE_START(INCOME, "Income s.r.o. SH-Dmaster PXA270 SBC") ...@@ -320,6 +321,7 @@ MACHINE_START(INCOME, "Income s.r.o. SH-Dmaster PXA270 SBC")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = colibri_pxa270_income_init, .init_machine = colibri_pxa270_income_init,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -186,6 +186,7 @@ MACHINE_START(COLIBRI300, "Toradex Colibri PXA300") ...@@ -186,6 +186,7 @@ MACHINE_START(COLIBRI300, "Toradex Colibri PXA300")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = colibri_pxa300_init, .init_machine = colibri_pxa300_init,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -256,6 +256,7 @@ MACHINE_START(COLIBRI320, "Toradex Colibri PXA320") ...@@ -256,6 +256,7 @@ MACHINE_START(COLIBRI320, "Toradex Colibri PXA320")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = colibri_pxa320_init, .init_machine = colibri_pxa320_init,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -730,6 +730,7 @@ static void __init fixup_corgi(struct tag *tags, char **cmdline, ...@@ -730,6 +730,7 @@ static void __init fixup_corgi(struct tag *tags, char **cmdline,
MACHINE_START(CORGI, "SHARP Corgi") MACHINE_START(CORGI, "SHARP Corgi")
.fixup = fixup_corgi, .fixup = fixup_corgi,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.init_machine = corgi_init, .init_machine = corgi_init,
...@@ -742,6 +743,7 @@ MACHINE_END ...@@ -742,6 +743,7 @@ MACHINE_END
MACHINE_START(SHEPHERD, "SHARP Shepherd") MACHINE_START(SHEPHERD, "SHARP Shepherd")
.fixup = fixup_corgi, .fixup = fixup_corgi,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.init_machine = corgi_init, .init_machine = corgi_init,
...@@ -754,6 +756,7 @@ MACHINE_END ...@@ -754,6 +756,7 @@ MACHINE_END
MACHINE_START(HUSKY, "SHARP Husky") MACHINE_START(HUSKY, "SHARP Husky")
.fixup = fixup_corgi, .fixup = fixup_corgi,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.init_machine = corgi_init, .init_machine = corgi_init,
......
...@@ -274,6 +274,7 @@ static void __init csb726_init(void) ...@@ -274,6 +274,7 @@ static void __init csb726_init(void)
MACHINE_START(CSB726, "Cogent CSB726") MACHINE_START(CSB726, "Cogent CSB726")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.init_machine = csb726_init, .init_machine = csb726_init,
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <mach/pxafb.h> #include <mach/pxafb.h>
#include <mach/mmc.h> #include <mach/mmc.h>
#include <mach/irda.h> #include <mach/irda.h>
#include <mach/irqs.h>
#include <mach/ohci.h> #include <mach/ohci.h>
#include <plat/pxa27x_keypad.h> #include <plat/pxa27x_keypad.h>
#include <mach/camera.h> #include <mach/camera.h>
......
...@@ -1301,6 +1301,7 @@ static void __init em_x270_init(void) ...@@ -1301,6 +1301,7 @@ static void __init em_x270_init(void)
MACHINE_START(EM_X270, "Compulab EM-X270") MACHINE_START(EM_X270, "Compulab EM-X270")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
...@@ -1311,6 +1312,7 @@ MACHINE_END ...@@ -1311,6 +1312,7 @@ MACHINE_END
MACHINE_START(EXEDA, "Compulab eXeda") MACHINE_START(EXEDA, "Compulab eXeda")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -235,6 +235,7 @@ static void __init gumstix_init(void) ...@@ -235,6 +235,7 @@ static void __init gumstix_init(void)
MACHINE_START(GUMSTIX, "Gumstix") MACHINE_START(GUMSTIX, "Gumstix")
.atag_offset = 0x100, /* match u-boot bi_boot_params */ .atag_offset = 0x100, /* match u-boot bi_boot_params */
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -205,6 +205,7 @@ static void __init h5000_init(void) ...@@ -205,6 +205,7 @@ static void __init h5000_init(void)
MACHINE_START(H5400, "HP iPAQ H5000") MACHINE_START(H5400, "HP iPAQ H5000")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -160,6 +160,7 @@ static void __init himalaya_init(void) ...@@ -160,6 +160,7 @@ static void __init himalaya_init(void)
MACHINE_START(HIMALAYA, "HTC Himalaya") MACHINE_START(HIMALAYA, "HTC Himalaya")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.init_machine = himalaya_init, .init_machine = himalaya_init,
......
...@@ -193,6 +193,7 @@ static void __init icontrol_init(void) ...@@ -193,6 +193,7 @@ static void __init icontrol_init(void)
MACHINE_START(ICONTROL, "iControl/SafeTcam boards using Embedian MXM-8x10 CoM") MACHINE_START(ICONTROL, "iControl/SafeTcam boards using Embedian MXM-8x10 CoM")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -195,6 +195,7 @@ static void __init idp_map_io(void) ...@@ -195,6 +195,7 @@ static void __init idp_map_io(void)
MACHINE_START(PXA_IDP, "Vibren PXA255 IDP") MACHINE_START(PXA_IDP, "Vibren PXA255 IDP")
/* Maintainer: Vibren Technologies */ /* Maintainer: Vibren Technologies */
.map_io = idp_map_io, .map_io = idp_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
*/ */
#define IRQ_BOARD_START (PXA_GPIO_IRQ_BASE + PXA_NR_BUILTIN_GPIO) #define IRQ_BOARD_START (PXA_GPIO_IRQ_BASE + PXA_NR_BUILTIN_GPIO)
#define NR_IRQS (IRQ_BOARD_START) #define PXA_NR_IRQS (IRQ_BOARD_START)
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
struct irq_data; struct irq_data;
......
...@@ -758,6 +758,7 @@ MACHINE_START(MIOA701, "MIO A701") ...@@ -758,6 +758,7 @@ MACHINE_START(MIOA701, "MIO A701")
.atag_offset = 0x100, .atag_offset = 0x100,
.restart_mode = 's', .restart_mode = 's',
.map_io = &pxa27x_map_io, .map_io = &pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = &pxa27x_init_irq, .init_irq = &pxa27x_init_irq,
.handle_irq = &pxa27x_handle_irq, .handle_irq = &pxa27x_handle_irq,
.init_machine = mioa701_machine_init, .init_machine = mioa701_machine_init,
......
...@@ -95,6 +95,7 @@ MACHINE_START(NEC_MP900, "MobilePro900/C") ...@@ -95,6 +95,7 @@ MACHINE_START(NEC_MP900, "MobilePro900/C")
.atag_offset = 0x220100, .atag_offset = 0x220100,
.timer = &pxa_timer, .timer = &pxa_timer,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.init_machine = mp900c_init, .init_machine = mp900c_init,
......
...@@ -344,6 +344,7 @@ static void __init palmld_init(void) ...@@ -344,6 +344,7 @@ static void __init palmld_init(void)
MACHINE_START(PALMLD, "Palm LifeDrive") MACHINE_START(PALMLD, "Palm LifeDrive")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = palmld_map_io, .map_io = palmld_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -205,6 +205,7 @@ MACHINE_START(PALMT5, "Palm Tungsten|T5") ...@@ -205,6 +205,7 @@ MACHINE_START(PALMT5, "Palm Tungsten|T5")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.reserve = palmt5_reserve, .reserve = palmt5_reserve,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -539,6 +539,7 @@ static void __init palmtc_init(void) ...@@ -539,6 +539,7 @@ static void __init palmtc_init(void)
MACHINE_START(PALMTC, "Palm Tungsten|C") MACHINE_START(PALMTC, "Palm Tungsten|C")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -358,6 +358,7 @@ static void __init palmte2_init(void) ...@@ -358,6 +358,7 @@ static void __init palmte2_init(void)
MACHINE_START(PALMTE2, "Palm Tungsten|E2") MACHINE_START(PALMTE2, "Palm Tungsten|E2")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -448,6 +448,7 @@ MACHINE_START(TREO680, "Palm Treo 680") ...@@ -448,6 +448,7 @@ MACHINE_START(TREO680, "Palm Treo 680")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.reserve = treo_reserve, .reserve = treo_reserve,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
...@@ -461,6 +462,7 @@ MACHINE_START(CENTRO, "Palm Centro 685") ...@@ -461,6 +462,7 @@ MACHINE_START(CENTRO, "Palm Centro 685")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.reserve = treo_reserve, .reserve = treo_reserve,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -366,6 +366,7 @@ static void __init palmtx_init(void) ...@@ -366,6 +366,7 @@ static void __init palmtx_init(void)
MACHINE_START(PALMTX, "Palm T|X") MACHINE_START(PALMTX, "Palm T|X")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = palmtx_map_io, .map_io = palmtx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -401,6 +401,7 @@ static void __init palmz72_init(void) ...@@ -401,6 +401,7 @@ static void __init palmz72_init(void)
MACHINE_START(PALMZ72, "Palm Zire72") MACHINE_START(PALMZ72, "Palm Zire72")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <mach/pm.h> #include <mach/pm.h>
#include <mach/dma.h> #include <mach/dma.h>
#include <mach/smemc.h> #include <mach/smemc.h>
#include <mach/irqs.h>
#include "generic.h" #include "generic.h"
#include "devices.h" #include "devices.h"
......
...@@ -1090,6 +1090,7 @@ MACHINE_START(RAUMFELD_RC, "Raumfeld Controller") ...@@ -1090,6 +1090,7 @@ MACHINE_START(RAUMFELD_RC, "Raumfeld Controller")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = raumfeld_controller_init, .init_machine = raumfeld_controller_init,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
...@@ -1102,6 +1103,7 @@ MACHINE_START(RAUMFELD_CONNECTOR, "Raumfeld Connector") ...@@ -1102,6 +1103,7 @@ MACHINE_START(RAUMFELD_CONNECTOR, "Raumfeld Connector")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = raumfeld_connector_init, .init_machine = raumfeld_connector_init,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
...@@ -1114,6 +1116,7 @@ MACHINE_START(RAUMFELD_SPEAKER, "Raumfeld Speaker") ...@@ -1114,6 +1116,7 @@ MACHINE_START(RAUMFELD_SPEAKER, "Raumfeld Speaker")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = raumfeld_speaker_init, .init_machine = raumfeld_speaker_init,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -598,6 +598,7 @@ MACHINE_START(SAAR, "PXA930 Handheld Platform (aka SAAR)") ...@@ -598,6 +598,7 @@ MACHINE_START(SAAR, "PXA930 Handheld Platform (aka SAAR)")
/* Maintainer: Eric Miao <eric.miao@marvell.com> */ /* Maintainer: Eric Miao <eric.miao@marvell.com> */
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -984,6 +984,7 @@ MACHINE_START(SPITZ, "SHARP Spitz") ...@@ -984,6 +984,7 @@ MACHINE_START(SPITZ, "SHARP Spitz")
.restart_mode = 'g', .restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.init_machine = spitz_init, .init_machine = spitz_init,
...@@ -997,6 +998,7 @@ MACHINE_START(BORZOI, "SHARP Borzoi") ...@@ -997,6 +998,7 @@ MACHINE_START(BORZOI, "SHARP Borzoi")
.restart_mode = 'g', .restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.init_machine = spitz_init, .init_machine = spitz_init,
...@@ -1010,6 +1012,7 @@ MACHINE_START(AKITA, "SHARP Akita") ...@@ -1010,6 +1012,7 @@ MACHINE_START(AKITA, "SHARP Akita")
.restart_mode = 'g', .restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.init_machine = spitz_init, .init_machine = spitz_init,
......
...@@ -1006,6 +1006,7 @@ static void __init stargate2_init(void) ...@@ -1006,6 +1006,7 @@ static void __init stargate2_init(void)
#ifdef CONFIG_MACH_INTELMOTE2 #ifdef CONFIG_MACH_INTELMOTE2
MACHINE_START(INTELMOTE2, "IMOTE 2") MACHINE_START(INTELMOTE2, "IMOTE 2")
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -491,6 +491,7 @@ MACHINE_START(TAVOREVB, "PXA930 Evaluation Board (aka TavorEVB)") ...@@ -491,6 +491,7 @@ MACHINE_START(TAVOREVB, "PXA930 Evaluation Board (aka TavorEVB)")
/* Maintainer: Eric Miao <eric.miao@marvell.com> */ /* Maintainer: Eric Miao <eric.miao@marvell.com> */
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa3xx_map_io, .map_io = pxa3xx_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa3xx_init_irq, .init_irq = pxa3xx_init_irq,
.handle_irq = pxa3xx_handle_irq, .handle_irq = pxa3xx_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include <asm/sched_clock.h> #include <asm/sched_clock.h>
#include <mach/regs-ost.h> #include <mach/regs-ost.h>
#include <mach/irqs.h>
/* /*
* This is PXA's sched_clock implementation. This has a resolution * This is PXA's sched_clock implementation. This has a resolution
......
...@@ -558,6 +558,7 @@ MACHINE_START(TRIZEPS4, "Keith und Koep Trizeps IV module") ...@@ -558,6 +558,7 @@ MACHINE_START(TRIZEPS4, "Keith und Koep Trizeps IV module")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = trizeps4_init, .init_machine = trizeps4_init,
.map_io = trizeps4_map_io, .map_io = trizeps4_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
...@@ -569,6 +570,7 @@ MACHINE_START(TRIZEPS4WL, "Keith und Koep Trizeps IV-WL module") ...@@ -569,6 +570,7 @@ MACHINE_START(TRIZEPS4WL, "Keith und Koep Trizeps IV-WL module")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = trizeps4_init, .init_machine = trizeps4_init,
.map_io = trizeps4_map_io, .map_io = trizeps4_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -994,6 +994,7 @@ MACHINE_START(VIPER, "Arcom/Eurotech VIPER SBC") ...@@ -994,6 +994,7 @@ MACHINE_START(VIPER, "Arcom/Eurotech VIPER SBC")
/* Maintainer: Marc Zyngier <maz@misterjones.org> */ /* Maintainer: Marc Zyngier <maz@misterjones.org> */
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = viper_map_io, .map_io = viper_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = viper_init_irq, .init_irq = viper_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -718,6 +718,7 @@ static void __init vpac270_init(void) ...@@ -718,6 +718,7 @@ static void __init vpac270_init(void)
MACHINE_START(VPAC270, "Voipac PXA270") MACHINE_START(VPAC270, "Voipac PXA270")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -182,6 +182,7 @@ MACHINE_START(XCEP, "Iskratel XCEP") ...@@ -182,6 +182,7 @@ MACHINE_START(XCEP, "Iskratel XCEP")
.atag_offset = 0x100, .atag_offset = 0x100,
.init_machine = xcep_init, .init_machine = xcep_init,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa25x_init_irq, .init_irq = pxa25x_init_irq,
.handle_irq = pxa25x_handle_irq, .handle_irq = pxa25x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
...@@ -721,6 +721,7 @@ static void __init z2_init(void) ...@@ -721,6 +721,7 @@ static void __init z2_init(void)
MACHINE_START(ZIPIT2, "Zipit Z2") MACHINE_START(ZIPIT2, "Zipit Z2")
.atag_offset = 0x100, .atag_offset = 0x100,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
.handle_irq = pxa27x_handle_irq, .handle_irq = pxa27x_handle_irq,
.timer = &pxa_timer, .timer = &pxa_timer,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment