summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/common.h
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2012-03-15 01:52:31 +0100
committerJason Cooper <jason@lakedaemon.net>2012-03-16 05:28:42 +0100
commit6fa6b8781fbd5e6cd5e313c5e3bdd73b426d8f30 (patch)
tree3f0e8b4e7b0c6b655f5f431a43116a365c171dff /arch/arm/mach-kirkwood/common.h
parentARM: kirkwood: fdt: absorb kirkwood_init() (diff)
downloadlinux-6fa6b8781fbd5e6cd5e313c5e3bdd73b426d8f30.tar.xz
linux-6fa6b8781fbd5e6cd5e313c5e3bdd73b426d8f30.zip
ARM: kirkwood: fdt: facilitate new boards during fdt migration
Move all dreamplug-specific code out of board-dt.c and into board-dreamplug.c. This way new boards that are added during the conversion to fdt don't clutter up board-dt.c. Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/common.h')
-rw-r--r--arch/arm/mach-kirkwood/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h
index c38244724fdc..473757818e02 100644
--- a/arch/arm/mach-kirkwood/common.h
+++ b/arch/arm/mach-kirkwood/common.h
@@ -51,6 +51,14 @@ void kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts, int (*dev
void kirkwood_audio_init(void);
void kirkwood_restart(char, const char *);
+/* board init functions for boards not fully converted to fdt */
+#ifdef CONFIG_MACH_DREAMPLUG_DT
+void dreamplug_init(void);
+#else
+static inline void dreamplug_init(void) {};
+#endif
+
+/* early init functions not converted to fdt yet */
char *kirkwood_id(void);
void kirkwood_l2_init(void);
void kirkwood_rtc_init(void);