summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-12-16 13:49:34 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-24 09:49:52 +0000
commitdec12e62c03d26bbc7a142f067215a3a43cce7d0 (patch)
treee83d19c45b487ad17ceb43c743aad2ed5701be8d /arch/arm/include/asm
parent8ff1443c5439ecee7472b80cf12ecfc337e6ee98 (diff)
ARM: provide an early platform initialization hook
This allows platforms to hook into the initialization early to setup things like scheduler clocks, etc. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/mach/arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach/arch.h b/arch/arm/include/asm/mach/arch.h
index 69908ddbaf1..3a0893a76a3 100644
--- a/arch/arm/include/asm/mach/arch.h
+++ b/arch/arm/include/asm/mach/arch.h
@@ -37,6 +37,7 @@ struct machine_desc {
struct meminfo *);
void (*reserve)(void);/* reserve mem blocks */
void (*map_io)(void);/* IO mapping function */
+ void (*init_early)(void);
void (*init_irq)(void);
struct sys_timer *timer; /* system tick timer */
void (*init_machine)(void);