Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba279044 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

ARM: s3c64xx: enable sparse IRQ support



This is another prerequisite for enabling multiplatform
support, and it is the part I am least certain about.

I assume it will cause the extra boot message "Cannot
allocate irq_descs @ IRQ%d, assuming pre-allocated" to
be printed, but otherwise work ok. This definitely needs
to be tested on real hardware to see if it works.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent a0e157af
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -705,6 +705,7 @@ config ARCH_S3C64XX
	select SAMSUNG_ATAGS
	select SAMSUNG_WAKEMASK
	select SAMSUNG_WDT_RESET
	select SPARSE_IRQ
	help
	  Samsung S3C64XX series based systems

+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@
#include <asm/system_misc.h>

#include <mach/map.h>
#include <mach/irqs.h>
#include <mach/hardware.h>
#include <mach/regs-gpio.h>
#include <mach/gpio-samsung.h>
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
#include <asm/mach/irq.h>
#include <mach/hardware.h>
#include <mach/map.h>
#include <mach/irqs.h>

#include <plat/devs.h>

+3 −17
Original line number Diff line number Diff line
@@ -156,25 +156,11 @@

#define IRQ_EINT_GROUP(group, no)	(IRQ_EINT_GROUP##group##_BASE + (no))

/* Define a group of interrupts for board-specific use (eg, for MFD
 * interrupt controllers). */
/* Some boards have their own IRQs behind this */
#define IRQ_BOARD_START (IRQ_EINT_GROUP9_BASE + IRQ_EINT_GROUP9_NR + 1)

#ifdef CONFIG_MACH_WLF_CRAGG_6410
#define IRQ_BOARD_NR 160
#elif defined(CONFIG_SMDK6410_WM1190_EV1)
#define IRQ_BOARD_NR 64
#elif defined(CONFIG_SMDK6410_WM1192_EV1)
#define IRQ_BOARD_NR 64
#else
#define IRQ_BOARD_NR 16
#endif

#define IRQ_BOARD_END (IRQ_BOARD_START + IRQ_BOARD_NR)

/* Set the default NR_IRQS */

#define NR_IRQS	(IRQ_BOARD_END + 1)
/* Set the default nr_irqs, boards can override if necessary */
#define S3C64XX_NR_IRQS	IRQ_BOARD_START

/* Compatibility */

+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
#include <linux/serial_s3c.h>

#include <mach/regs-gpio.h>
#include <mach/regs-clock.h>

static inline void s3c_pm_debug_init_uart(void)
{
Loading