summaryrefslogtreecommitdiff
path: root/arch/arm/mach-kirkwood/common.h
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2012-03-15 00:52:31 (GMT)
committerJason Cooper <jason@lakedaemon.net>2012-03-16 04:28:42 (GMT)
commit6fa6b8781fbd5e6cd5e313c5e3bdd73b426d8f30 (patch)
tree3f0e8b4e7b0c6b655f5f431a43116a365c171dff /arch/arm/mach-kirkwood/common.h
parent2b45e05f51a79c2818523c923dfe008b8b2f4227 (diff)
downloadlinux-fsl-qoriq-6fa6b8781fbd5e6cd5e313c5e3bdd73b426d8f30.tar.xz
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 c382447..4737578 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);