summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/common.h
diff options
context:
space:
mode:
authorSimon Baatz <gmbnomis@gmail.com>2012-04-30 23:55:17 +0200
committerJason Cooper <jason@lakedaemon.net>2012-05-15 03:18:49 +0000
commitf5520363532690f56e12126029864d9383d5203f (patch)
tree244f770e3354367f573b5583a41c6a7a8a2ac52e /arch/arm/mach-kirkwood/common.h
parentc06cd9bfcad4960023bac1f052da748824e24961 (diff)
ARM: kirkwood: Add support for RaidSonic IB-NAS6210/6220 using devicetree
Add support for the IB-NAS6210 and IB-NAS 6220. Describe as much as currently possible in the devicetree files, including the NAND partitions. Use the partition scheme of the original firmware by default. Create a board-ib62x0.c for everything else. Signed-off-by: Simon Baatz <gmbnomis@gmail.com> 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h
index 5f0365c74b0..a34c41a5172 100644
--- a/arch/arm/mach-kirkwood/common.h
+++ b/arch/arm/mach-kirkwood/common.h
@@ -70,6 +70,12 @@ void iconnect_init(void);
static inline void iconnect_init(void) {};
#endif
+#ifdef CONFIG_MACH_IB62X0_DT
+void ib62x0_init(void);
+#else
+static inline void ib62x0_init(void) {};
+#endif
+
/* early init functions not converted to fdt yet */
char *kirkwood_id(void);
void kirkwood_l2_init(void);